- This topic has 8 replies, 3 voices, and was last updated 2 years, 3 months ago by Elvin.
-
AuthorPosts
-
December 2, 2021 at 6:51 am #2035719Nicole
Hello,
How can I make my posts category page look like this
meaning the layout with sections and also the posts themselves two or three to a row.
instead of just one post after the other on the page when you click on a category?
Thank you
December 2, 2021 at 8:37 am #2035979DavidStaffCustomer SupportHi there,
1. the top two sections are static content, which you can use a Block element to add them
after_header
on an Archve page.https://docs.generatepress.com/article/block-element-overview/
2. To set the columns of the Post loop, make sure the Blog Module is enabled in Appearance > GeneratePress then you can enable columns in Customizer > Layout > Blog:
https://docs.generatepress.com/article/blog-content-layout/
3. If you want to custom design the post cards then you can use a Block Element Content Template to design your own:
https://docs.generatepress.com/article/block-element-content-template/
December 2, 2021 at 8:54 am #2036009NicoleHello,
Ok, do I do all of these things on a new page or are all these things separately done?
December 2, 2021 at 10:01 am #2036128DavidStaffCustomer SupportI numbered the above steps to make this a little clearer.
They would all be done separately but #2 and #3 you can do just the once, and this will apply to your Blog and ALL your Post Archives including Categories and Tags.#1 However it depends – if each category archive requires different content, then you may need to create a separate Block Element for each archive. Note that some of the content can be displayed dynamically such as displaying the archive description.
December 2, 2021 at 2:35 pm #2036429NicoleHello,
I’m running into a few issues.First there is a huge gap between the logo and menu and the rest of the content, how do I minimize it?
Second, I cannot seem to be able to write the title and excerpt together to have no break in the background color.
Thirdly, the posts are all on the left side and very spaced weirdly. How do I center them on the page and add the kind of padding or something that will help them show up like in the example site?
Thank you
December 2, 2021 at 5:44 pm #2036533ElvinStaffCustomer SupportHi Nicole,
First there is a huge gap between the logo and menu and the rest of the content, how do I minimize it?
The page seems to have a Block element with a Container block hooked to it. This container block that’s hook has 160px padding. Consider reducing it to reduce the gap.
Second, I cannot seem to be able to write the title and excerpt together to have no break in the background color.
Try placing both of them on a Container block and set the background color on the Container block instead of the text elements. π
Thirdly, the posts are all on the left side and very spaced weirdly. How do I center them on the page and add the kind of padding or something that will help them show up like in the example site?
Create a Layout element that disables the right sidebar on Category archive pages. π
On a Layout element, go to the sidebar tab and set it to “Content (no sidebars)”. You then set the display rule location to “Post Category archives – all”.
https://docs.generatepress.com/article/layout-element-overview/#sidebarDecember 2, 2021 at 8:58 pm #2036665Nicoleok thank you, I figured out 2 and 3 but can’t seem to figure out 1. Where do I find this container block and padding?
December 2, 2021 at 9:03 pm #2036667Nicoleneveremind i figured it out thank you
December 2, 2021 at 9:11 pm #2036673ElvinStaffCustomer SupportNo problem. Glad you got it sorted. π
-
AuthorPosts
- You must be logged in to reply to this topic.