Site logo

Archived topic

how to add some space between image and paragraph

9 replies · Started by Anoop Kumar Vaishya on November 14, 2022

Viewing posts 1–10 of 10

Hi Anoop,

The Block you're using is from WordPress. To add spacing to it, try adding this custom CSS code through Appearance > Customize > Additional CSS:

.wp-block-image img {
    margin-bottom: 20px;
}

Yom may modify the value to your preference.

This should add bottom spacing for all WordPress Image Blocks.

what about wp-block-button. i have tried the same CSS but not working.

Hi there,

try this CSS:


.wp-block-buttons {
    margin-bottom: 1.5em;
}

not working

Did you try clearing any caches after you added the CSS ?

I have ceared the cache from the wp rocket plugin also I am not using cache for logged-in users.

Move the CSS i provided to the very top of your CSS

now working thanks for help

You're welcome

This archived topic is closed to new replies.