Exercise: Building out the Content Area
Instructions
Adding spacing between articles
- In the block outline, look for a Group block called Article.
- Add a level 6 margin top.
Adding spacing between the content area and the footer
- In the block outline, look for the Group block inside of the Footer template part.
- Add a level 4 margin top.
Styling the pagination
- Add a Group before the Pagination block.
- Drag the Pagination block into the Group.
- Delete the Page Numbers inner block.
- Group styles:
- Spacing: Add a level 5 margin top.
- Typography: Set the font size to Large.
- Group settings:
- Set the Layout to Space between items.
- Set the Arrow to Arrow.
Implementing the No Results view
- Find the No Results block in the outline.
- Add "No posts could be found" into the paragraph inside of the No Results block.
- Center the text, and make it bold.
- Styles: Set the font size to large.