Horizontal padding on mobile

Hello,

Could you please help me with the CSS where I can alter horizontal padding for mobile?

It seems it is set up for larger amount than needed - see the screenshots. And it also seems that it's uneven - more on the right in some sections and more on the left in other sections.
Is there any setting for this within the Theme Options?

Thank you.

image

image


image

Comments

  • Hey,
    please always attach a link to your website on a new post.
    thanks
  • It cannot be changed at all, it's hardcoded in the theme.
    You would have to create a CSS code to achieve that, but we theme options, sadly not.
    thanks
  • Could you please give me a hint or a code snippet of which wrapper/block/section I need to modify?

    I am unable to find it using Chrome's Inspect Elements...

    Thank you.
  • Well, I through that you wanted to increase/decrease horizontal padding for footer, but I read once more the topic and you are asking for sections on page, right?

    You can do that in the section settings, there you can provide the value of horizontal padding in px or percents.

    thanks
  • edited June 2020
    Well, this has to be somewhere deeper in the code as even if I put 0px in horizontal padding, the section does not change at all on mobile. 10 or more pixels show up but once I get to 0 everything is back to where it was. I need to have less space on both sides of the text/icons...
    Or maybe even decrease the space between icons and the text?

    Maybe it's the settings at the bottom? See screenshots. 

    image
    image


    image
  • Well, if you want to have it more wide, just turn on the "full width" option visible on your last screen.
    Thanks
  • I only need it wider for mobile, not for desktop - there we need it in a boxed container as it is. 
  • Or maybe decrease the font size little bit more? 
    I've got this already selected in Theme Options.
  • To decrease the font on mobile, you have to decrease the font for desktop too.
    Mobile font size is based on the desktop font size.

    If this does not fits you - you will have to use the CSS code for both cases.
    Thanks
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.