- This topic has 9 replies, 3 voices, and was last updated 4 months, 3 weeks ago by
Leo.
-
AuthorPosts
-
October 8, 2020 at 1:48 pm #1479202
Giovanni
Hi,
my content padding feature works when I work with the desktop version but not with the mobile one.
I would like to increase the space between the left edge of the browser and the text.
Can you help me, please?
best regards
GiovanniOctober 8, 2020 at 1:49 pm #1479204Elvin
StaffCustomer SupportHi,
Can you link us to the site in question? So we could take a closer look on why it’s not working on mobile.
You can provide the site details on the Private Information text area. Thank you.
A wise man once said:
"Have you cleared your cache?"October 8, 2020 at 1:53 pm #1479210Giovanni
https://www.sergiosolazzo.com
details are written in the private area
tksOctober 8, 2020 at 2:15 pm #1479237Elvin
StaffCustomer SupportThank you.
I see that you seem to be using a layout element w/ content area set to contained (no padding).
You can try adding this CSS to add padding on mobile.
@media (max-width:768px){ .contained-content.one-container .site-content{ padding: 30px; } }
A wise man once said:
"Have you cleared your cache?"October 8, 2020 at 2:29 pm #1479251Giovanni
Thanks Elvin, I would prefer to change the setting instead of adding new css. Could you tell me exactly where I should modify this setting please?
October 8, 2020 at 2:34 pm #1479261Elvin
StaffCustomer SupportNormally, the padding for mobile is adjusted through Dashboard > Appearance > Customize > Layout > Container and set the “Content Padding” from there.
But this is normally overridden when a Layout Element on Appearance > Elements has a content area set to either Full Width (no padding) or Contained (no padding).
These settings, as indicated, removes padding. To be able to control them again via customizer, you must set this setting to default.
A wise man once said:
"Have you cleared your cache?"October 9, 2020 at 3:29 am #1480019Giovanni
Hi Elvin,
I have first tried adding the code you suggested but it didn’t work. Then I reset everything to the default settings. But still, it doesn’t work.
Do I have other options?
thanksOctober 9, 2020 at 9:19 am #1480708Leo
StaffCustomer SupportAs Elvin pointed out, you have this setting set to Contained:
https://www.screencast.com/t/v8deJYOTsIf you set it to Default instead, then the customizer setting would work again.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 9, 2020 at 12:42 pm #1481032Giovanni
Hi Leo,
yes Elvin was right, but I was looking in the wrong place. I’m not so good π
The problem is now solved.
Thanks to both of you for the great support π
Have a nice day
ciao
GiovanniOctober 9, 2020 at 12:45 pm #1481038Leo
StaffCustomer SupportNo problem π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.