Site logo

[Resolved] Using GeneratePress Layout Elements On Category Pages

Home Forums Support [Resolved] Using GeneratePress Layout Elements On Category Pages

Home Forums Support Using GeneratePress Layout Elements On Category Pages

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2403221
    Jodie

    Hi,

    I want to make my category page archives to appear wider than my current container (900px) however I can’t seem to do that without removing the padding so they look strange on mobile. Any ideas on how to fix this? Thanks!

    Thanks for your help!

    Cheers Jodie

    #2403427
    David
    Staff
    Customer Support

    Hi there,

    do you want to make the entire archive page wider ?
    For example try adding this CSS to see what i mean 🙂

    
    .archive .grid-container,
    .archive .grid-container .gb-inside-container{
        max-width: 1200px !important;
    }
    #2404116
    Jodie

    Hi David,

    I’d like to make the body wider, not the header or footer.

    Is that possible please? Thanks!

    Cheers Jodie

    #2404121
    Fernando
    Customer Support

    Hi Jodie,

    I see. Can you try this CSS instead?:

    .archive #page.grid-container,
    .archive #page.grid-container .gb-inside-container{
        max-width: 1200px !important;
    }
    #2404128
    Jodie

    Hi Fernando,

    Thanks for your help, that fixed it.

    Cheers Jodie

    #2404130
    Fernando
    Customer Support

    You’re welcome Jodie!

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