Archived topic
Padding on Media and Text Block
5 replies · Started by Caitriona on May 25, 2022
I don't know why but the padding on the mobile version of my site looks very bad: https://www.tprteaching.com/tools/. Can it be fixed?
Hi Caitriona,
Looking at the linked site, the padding on mobile for your site’s content is 30px all around.
You can modify this by going to Appearance > Customize > Layout > Container > Content Padding, and then set the view to mobile as such: https://share.getcloudapp.com/04uQowmX
If you’re referring to something else, kindly let us know.
Hi, when I use the content padding there, it moves for everything else but not the actual media+text block
Hi there,
The style added on to the media and text block are from WP, GP has no control over it.
In order to set its spacing right on mobile, you will need a lot of custom CSS to override the existing styles.
As you are already using GenerateBlocks, I would recommend using Gridblock of GB which will give you more control in every aspect.
OK thank you, I was unsure what to use to get the desired result. I'll try this and see how it goes.
If you have any questions building the layout using GB, you are welcome to open a support topic in GB's support system:
Free: https://wordpress.org/support/plugin/generateblocks/
Pro: https://generateblocks.com/support/
The answer should be useful for other users as well :)