Hello. Using the page builder, I have added a column to my page, and specified it to have a left/right padding of 50px (screenshot). But at certain screen widths I would like to ensure the left and right padding changes to 10px. In my case, those screen widths are between 1360 px and 1475, and below 530 px. How can I do that?
Ordinarily I would do this with custom CSS. But I don’t believe I can do so in this case, since the theme is applying padding: 50px as inline style.
The motivation for this is because I will soon add more text content to that column. And with left/right padding set to 50px, at those particular screen widths, the text content becomes too wide for the column, and becomes off-center (screenshot). I realize a workaround might be to reduce the font size, I’m hoping to avoid that.
Thanks.
Hey FeedXL2019,
Even if the theme is applying inline styles they can still be overridden with !important; and yes, you can reduce the font size too, You can play with both options to come up with the best solution for you. There is no other way.
Best regards,
Victoria
>> they can still be overridden with !important
OK thanks for that–didn’t know that. I gave it a shot, and it works. Thanks! We can consider this resolved.
Hi FeedXL2019,
Glad you got it working for you! :)
If you need further assistance please let us know in another thread as we are closing this one.
Best regards,
Victoria