Reply To: Blog/post Homepage + Categories

Home Forums Support Blog/post Homepage + Categories Reply To: Blog/post Homepage + Categories

Home Forums Support Blog/post Homepage + Categories Reply To: Blog/post Homepage + Categories

#156934
Tom
Lead Developer
Lead Developer

Hi there,

1. * You can change the background of the first post with this CSS:

.post:nth-of-type(1) .inside-article {
    background-color: #DDDDDD;
}

You can also add other CSS to that same selector.

** For this, I would use the more tag: https://generatepress.com/knowledgebase/using-the-more-tag/

*** The above will help with this as well. When you have the blog post content set to “excerpt” in “Customize > Blog > Blog Content”, it will strip all HTML (colors, line breaks, links). Setting the more tag will display all of these, and so will setting the option to “full post”. The more tag will work with either.

2. By default, Sections don’t have sidebars as they’re typically full width. However, you can allow sidebars on sections like this: https://generatepress.com/forums/topic/sections-add-on/page/2/#post-153836

Let me know if you need more info 🙂