Site logo

Archived topic

Blog/post Homepage + Categories

1 reply · Started by Anonymous on November 30, 2015

Viewing posts 1–2 of 2

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

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 :)

This archived topic is closed to new replies.