[Resolved] Page looks different from every other page and post on my site

Home Forums Support [Resolved] Page looks different from every other page and post on my site

Home Forums Support Page looks different from every other page and post on my site

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #680622
    Janine

    Hi.

    Why does the layout of one post look different to every other page and post on my site?

    The layout is different — wider and featured image has a white border on the right and the left side. I’ve placed the post in question in the form where you asked for website URL.

    Thank you!

    #680642
    David
    Staff
    Customer Support

    Hi there,

    can you try #1 here:

    https://docs.generatepress.com/article/debugging-tips/

    let me know

    #685393
    Janine

    Hi, David.

    I did as you instructed and the problem with the post still persists.

    What else can I try?

    Thank you!

    #685394
    Leo
    Staff
    Customer Support

    You have these CSS added to set the container at different width:

    /*set container width for single posts - featured image, 750px and content area, 670px*/
    body.single .grid-container {
        max-width: 1100px;
    }
    
    /*set container width for main blog page - homepage*/
    body.blog .grid-container {
        max-width: 1100px;
    }
    #685406
    Janine

    Hi, Leo.

    I’m not sure what you mean.

    And should I cut and paste the new code?

    Please clarify.

    Thanks!

    #685413
    Leo
    Staff
    Customer Support

    No. Those are the existing code you already have which is making the container width different.

    If you remove those, all the container width will be the same as you’ve set in the customizer:
    https://docs.generatepress.com/article/container-width/

    #685482
    Janine

    Hi, Leo.

    But why is it only affecting ONE post?

    Thanks!

    #685500
    Leo
    Staff
    Customer Support

    Can you link or guide me to a post that’s not affected by the CSS?

    And make sure they are actually posts and not pages.

    #685507
    Janine

    Hi, Leo.

    Can I send it via email? Thanks.

    #685509
    Leo
    Staff
    Customer Support

    Of course!

    Use Account Issue here: https://generatepress.com/contact/

    Thanks!

    #685510
    Janine

    Hi, Leo.

    I sent it via the contact form.

    Thanks!

    #685518
    Leo
    Staff
    Customer Support

    You sent through Account Issues?

    Didn’t get anything. Just tested the form myself too and it’s working 🙂

    #685874
    Janine

    Hi, Leo.

    This is the post that is a problem:

    [link removed]

    And this is how my other posts look:

    [link removed]

    Thanks for your help!

    P.S. My pages have the same look, but I think the container is just a bit wider:

    [link removed]

    #686073
    Leo
    Staff
    Customer Support

    Those two posts both have container width of 1100px applied by the CSS I mentioned above.

    The difference is that one has sidebar and one doesn’t.

    #686075
    Janine

    Hi, Leo.

    Mystery solved. User error. Thanks so much for setting me straight!

    Take care,

    Janine

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