Site logo

Archived topic

How can I add padding to blog cards on mobile?

5 replies · Started by eran on June 16, 2022

Viewing posts 1–6 of 6

Hi,
How can I add padding to blog cards on mobile?
I must do it with code or I can do it through the theme options?

Hi there,

Go to customizer > layout > container, you can add padding there.

Make sure the spacing module is activated at appearance > GeneratePress.

But its in my blog page (mobile) i already have some padding on the container

If I remember correctly, you are using block element - content template for blog and archive?

If so, the customizer option won't work.

You can add margin left/right to the container block on mobile.

to the theme editor? style.css?

No, in your block element - content template.

This archived topic is closed to new replies.