Can't remove top margin on pages

Every page on my wordpress website has this big top margin with the exception of the homepage and I can’t figure out how to get rid of it. The inspect tool doesn’t even identify it and nothing in the support forums seems to have the answer so I’m unsure of how to go about fixing this.

Here’s a link to my website: https://joinadfleet.com/drivers/

Any suggestions would be greatly appreciated!

Thanks

Hi there,

Please edit the pages and scroll to the Page Settings and disable the page title:

Hope this helps.

Thanks for the quick reply Jade!
Unfortunately that didn’t quite fix the problem, although it did make the gap slightly smaller.

Hello @AdFleet,

Thanks for updating the thread.

  1. First I suggest you to remove section padding. I see you have added padding in section that that’s adding extra spacing. Here’s a screencast.

  1. Next, to further reduce the spacing you can add following CSS under X > Theme Options > CSS:
.x-root .site .x-container.offset {
    margin-top: 0;
}

If you would like to learn CSS, please take a look a following resource:

https://www.w3schools.com/css/

Thanks.

1 Like

Thank you so much! That finally fixed it.

You’re most welcome.

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