How can I remove the top and side margins (or padding) on the homepage?

I’ve changed the page template to ‘Blank - No Container’ and the white margin was removed, however, there is still a large white space between the header and the first image, as well as on both sides of the slider. The image slider is set to full width.

Thank you in advance for your help.

Hi @Pdejour01,

It could be possible to get rid of the gaps using a custom CSS but it depends on the setup of your page. I tried checking the URL assigned to your license but there is a coming soon page active on the site.

Would you mind providing us an access to the site so that we can check it?

Sure thing. I’ve added it.

Hello @Pdejour01,

Thanks for the details. There is a default CSS that is adding the margin for the custom block that’s outside X. You can override it by adding this code in X > Theme Options > CSS:

.wp-block-coblocks-gallery-carousel .coblocks-gallery--figure {
    margin: 0;

Hope this helps.

@jade Perfect! Thank you so much for your time.

We are delighted to assist you with this.


This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.