Archived topic
Page looks different from every other page and post on my site
15 replies · Started by Janine on September 18, 2018
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!
Hi, David.
I did as you instructed and the problem with the post still persists.
What else can I try?
Thank you!
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;
}
Hi, Leo.
I'm not sure what you mean.
And should I cut and paste the new code?
Please clarify.
Thanks!
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/
Hi, Leo.
But why is it only affecting ONE post?
Thanks!
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.
Hi, Leo.
Can I send it via email? Thanks.
Hi, Leo.
I sent it via the contact form.
Thanks!
You sent through Account Issues?
Didn't get anything. Just tested the form myself too and it's working :)
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]
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.
Hi, Leo.
Mystery solved. User error. Thanks so much for setting me straight!
Take care,
Janine