Disable Page Margins

By default, the page content has a top and bottom margin to add space between the title, footer and the content. 

However, sometimes when building a custom page you’ll want to have an area that touches right up with the title or footer such as a slider or section with a background. To disable the top and bottom margin simply do so via the OceanWP Settings metabox (open the page in question in WordPress, scroll down to OceanWP Settings).

Disable the Page Margins Globally

If you want to disable the top and bottom margin for the entire website, go to the General Options > General Settings section of the Customizer (Appearance > Customize) and add 0 as Top and Bottom in the Content Padding field.

Leave a Reply

Your email address will not be published.