- This topic has 15 replies, 3 voices, and was last updated 3 years, 7 months ago by
Leo.
-
AuthorPosts
-
September 18, 2018 at 3:35 pm #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!
GP Premium 1.7.2September 18, 2018 at 4:29 pm #680642David
StaffCustomer SupportHi there,
can you try #1 here:
https://docs.generatepress.com/article/debugging-tips/
let me know
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 24, 2018 at 1:30 pm #685393Janine
Hi, David.
I did as you instructed and the problem with the post still persists.
What else can I try?
Thank you!
September 24, 2018 at 1:33 pm #685394Leo
StaffCustomer SupportYou 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; }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 24, 2018 at 1:51 pm #685406Janine
Hi, Leo.
I’m not sure what you mean.
And should I cut and paste the new code?
Please clarify.
Thanks!
September 24, 2018 at 1:54 pm #685413Leo
StaffCustomer SupportNo. 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/Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 24, 2018 at 4:01 pm #685482Janine
Hi, Leo.
But why is it only affecting ONE post?
Thanks!
September 24, 2018 at 4:46 pm #685500Leo
StaffCustomer SupportCan 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.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 24, 2018 at 5:07 pm #685507Janine
Hi, Leo.
Can I send it via email? Thanks.
September 24, 2018 at 5:19 pm #685509Leo
StaffCustomer SupportOf course!
Use Account Issue here: https://generatepress.com/contact/
Thanks!
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 24, 2018 at 5:29 pm #685510Janine
Hi, Leo.
I sent it via the contact form.
Thanks!
September 24, 2018 at 5:38 pm #685518Leo
StaffCustomer SupportYou sent through Account Issues?
Didn’t get anything. Just tested the form myself too and it’s working 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 25, 2018 at 7:34 am #685874Janine
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]
September 25, 2018 at 9:37 am #686073Leo
StaffCustomer SupportThose 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.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 25, 2018 at 9:40 am #686075Janine
Hi, Leo.
Mystery solved. User error. Thanks so much for setting me straight!
Take care,
Janine
-
AuthorPosts
- You must be logged in to reply to this topic.