Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Customizing Homepage/Archive: Spacing, Excerpt Font Size and Color

  • How can I make the following changes to the homepage and archive pages without affecting individual posts and pages:

    1. Reduce the spacing between the featured image, title, and excerpt
    2. Change the font size of the excerpt
    3. Change the color of the excerpt text

    See Private information section for screenshots.

  • Hi there,

    the simplest method would one to use a GP Block Element Content Template for the archive page.

    https://docs.generatepress.com/article/block-element-content-template/

    In the content template settings sidebar there are some Templates to choose from which would get you started. You can then design the look of your individual posts in the blog and archives.

  • Hi David,

    Thanks, but that’s really not helpful at all. Are you suggesting I need to buy and install a new plugin just to make a simple change?

    Editing some CSS would be a much simpler solution.

    I’ll just figure it out myself. 🙁

  • Thanks, but that’s really not helpful at all. Are you suggesting I need to buy and install a new plugin just to make a simple change?

    No. The GenerateBlocks plugin you need is Free. It’s what we use for the majority of our GP Site Library builds and allows you to visually design your own templates in the GP Elements module.

    But that method is overkill if you just want to reduce the space on archives. Here is some CSS for that:

    
    body:is(.blog, .archive) .inside-article .post-image {
        margin-bottom: 1em;
    }
    body:is(.blog, .archive) .inside-article .entry-summary {
        margin-top: 1em;
    }
    
  • Hi David,

    Thank you for clarifying and providing the CSS—that’s exactly what I needed!

    I apologize for my earlier reaction. The reason I’m sticking with GeneratePress, even though most of my needs could be met with the Twenty Twenty-Four theme, is because I’m not a fan of blocks and prefer to keep things simple—the GP way, you know. I didn’t understand it clearly before, so sorry about that.

    Thanks again for your help!

  • I’ll mark this topic as resolved now.

  • No apologies necessary, we are more than happy to help!

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