Site logo

Archived topic

remove white space between hook element and the navigation as header

1 reply · Started by Sheng Che on June 4, 2022

Viewing posts 1–2 of 2

Hello,

I added a hook element and set it before header, but there is white space between hook element and the navigation as header. Can you please tell me how to remove the white space?

https://smileaffiliatesuccess.com/

Thanks.
Matt

Hi there,

the space comes from the bottom margin that gets added to the Image Block.
To fix that:

1. Edit the Element and select the image block.
1.1 With it selected in the Advanced > Additional CSS Class(es) field add: no-margin-bottom
1.2 Save the element

2. Add this CSS to your site:

.wp-block-image.no-margin-bottom{
    margin-bottom: 0;
}
This archived topic is closed to new replies.