Cyber Week Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Resolved] Blog/post Homepage + Categories

Home Forums Support Blog/post Homepage + Categories

  • This topic has 1 reply, 2 voices, and was last updated 5 years ago by Tom.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #156879
    Francesca

    Dear Tom,

    Recently, I got all the add-on and I am now playing with them.
    However, I am struggling a bit mainly because of two features:

    1) How can I personalize the appearance of the blogs ND BLOG LISTING on the homepage? (see http://www.erbium.at)
    EXAMPLE:
    * Background color only for the first post?
    ** Different excerpt length for different posts?
    *** Content of a post shown in the HP: how can I change the colors or go to a new line, or add a link? All this is displayed correctly in the post page itself but not on the homepage (I am using Masonry)

    2) With the add-on SECTION:
    why I can not use/have the left and right sidebar?

    Thanks for helping me!
    Francesca

    #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 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.