- This topic has 24 replies, 2 voices, and was last updated 4 years, 6 months ago by Leo.
-
AuthorPosts
-
October 25, 2019 at 12:31 pm #1044566Anthony
Hi, all pages look good, except this one. Seems to have double the padding. I removed all additional css from the customizer. No CSS plugins or additional CSS exists. Any idea how to correct the padding on this page without affecting the others?
Thanks,
Anthony.October 25, 2019 at 12:57 pm #1044579LeoStaffCustomer SupportHi there,
This CSS is causing the issue and it isn’t coming from GP:
https://www.screencast.com/t/RLOo0oSNI can’t quite tell where it’s coming from as there is some sort caching on.
Hope this helps!
October 25, 2019 at 1:40 pm #1044604AnthonyExactly. Now if I make it 0px it will look the way I want, but all the other pages lose the padding too and they don’t need to.
October 25, 2019 at 2:29 pm #1044625LeoStaffCustomer SupportCan you link me to a page where this CSS is needed?
October 25, 2019 at 2:43 pm #1044626AnthonySure – https://www.expertcomputerhelp.com/computer-support-services/ If you look at the other pages you’ll see they are all even with 40px. It’s that one page that’s off.
October 25, 2019 at 6:28 pm #1044710LeoStaffCustomer SupportLooks like the other pages are using the contained setting here:
https://docs.generatepress.com/article/page-builder-container/Try using the Default option so the normal content padding apply:
https://docs.generatepress.com/article/content-padding/Then you can remove the CSS.
Let me know ๐
October 25, 2019 at 6:58 pm #1044730AnthonyThat’s what I’m saying Leo ๐ I’ve tried everything, well.. Maybe something broke? I’m stumped man.
October 25, 2019 at 7:19 pm #1044733AnthonyI took a few screenshots for you – https://1drv.ms/u/s!AioH3Aq897Joo79FiABxn2bV5Vdalg?e=6Y88Pd Hope this helps. Thanks!
October 26, 2019 at 9:33 am #1045327LeoStaffCustomer SupportHave you checked the page builder container setting for the Expert Computer Help page I mentioned above?
Is it set to default?
October 26, 2019 at 9:40 am #1045334AnthonyYes. I’ve played with all the theme settings. I would think there would be some inline code for this so it doesn’t effect the rest of the pages. No?
October 26, 2019 at 10:09 am #1045355LeoStaffCustomer SupportYou don’t need to add CSS for padding as it’s all handled by the theme itself.
When you add your own CSS, the result is double padding as you can see.
Can you double the page builder container setting for the Expert Computer Help page make sure it’s set to default?
Then make sure to clear any caching plugin and site ground cache.
October 26, 2019 at 10:24 am #1045361AnthonyI know that. That’s why I removed all custom css. However, this particular theme came with additional css. I decided to remove it all because of this. Now it should be clean, no unnecessary css. I’ve tried it with code and without. I’ve cleared the site cache a few times. I’ve tried all the css hacks I could think of. Normally I can figure this out myself. When the settings are default it removes all of the padding. It’s set to 40px, so why is it removing all of the padding? You viewed the link of screenshots? I was showing you what happened when I removed the additional css padding. Globally it’s set to 40px, but it’s not working.
October 26, 2019 at 10:32 am #1045363LeoStaffCustomer SupportWhen the setting is set to default, it should keep the padding as you set in the customizer as you can see in the double padding page:
https://www.screencast.com/t/NQ1AEP4PZxDAnd the home page now set to default? It doesn’t look like it from the code.
You also have Site Ground optimizer turned on so I can’t view the source of the code.
Can you turn that off for now?
October 26, 2019 at 10:38 am #1045366AnthonyDone. Now the global content padding is 40px, but as you can see, after I removed that additional css you see what happens? If I keep it there it fixes the whole site except for the services page has double.
October 26, 2019 at 10:52 am #1045378LeoStaffCustomer SupportDo you have a Layout Element created?
https://docs.generatepress.com/article/layout-element-overview/Can you turn off site ground optimizer for now so I can see the source of the code better? It could very well be causing some issues as well.
-
AuthorPosts
- You must be logged in to reply to this topic.