[Support request] Category Pages

Home Forums Support [Support request] Category Pages

Home Forums Support Category Pages

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1678682
    Kevin

    Hello-

    How do I reduce the padding between the images/posts on my category pages? I want to keep the padding setting in customizer as is; just want to reduce the space on category pages.

    Also, how do I change the heading for each post on the category page? I would like them to be H3 (just on the category page).

    #1679022
    David
    Staff
    Customer Support

    Hi there,

    do you mean the space between the Post Image and the excerpt?
    Or the spacing between each post ? If so is that just the vertical spacing ( top/bottom), horizontal or both?

    #1679080
    Kevin

    Spacing between each both. Mostly focused on the vertical spacing right down the middle of the page (too much white space).

    #1679247
    Ying
    Staff
    Customer Support

    Hi Kevin,

    You could try to adjust content padding:
    https://docs.generatepress.com/article/content-padding/

    And Customizing > Layout > Container > Content Separator.

    #1679251
    Kevin

    That adjusts the padding for the entire website right? I just want to adjust the padding for the category pages.

    #1679298
    Ying
    Staff
    Customer Support

    I see, then try this CSS, adjust the numbers ๐Ÿ™‚

    .archive.category .site-main .post .inside-article {
        padding: 0;
    }
    .archive.category .generate-columns {
        margin-bottom: 0;
    }
    #1679321
    Kevin

    Thanks Ying! That worked….I also asked about changing the heading;

    “How do I change the heading for each post on the category page? I would like them to be H3 (just on the category page).”

    Any suggestions?

    #1679345
    Ying
    Staff
    Customer Support

    Change heading element tag is not recommended.

    This topic should be helpful:
    https://generatepress.com/forums/topic/change-page-title-from-h1-to-h3/#post-774131

    #1679370
    Kevin

    Thank you. I figured out that I can reduce the font size for the H2 archive under typography. I was just trying to reduce the size of the title so my longer titles fit on one line.

    Have a great day!

    #1679398
    Ying
    Staff
    Customer Support

    Great! Glad to hear that ๐Ÿ™‚

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