Home>Support>Remove padding from top of page

Remove padding from top of page

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi,

I want to remove the padding at the top of each page.

In this page specifically http://flowingmotion.ca/test-page/ I’m trying to remove that white space between the slider and the opt-in form.

Thanks so much for your help.

URL: http://flowingmotion.ca/test-page

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Hi vvanhees

    Doing this globally won’t work for your site (as far as I can tell). If you can let me know which pages you’d like this done on, we can try send through some specific CSS to help out.

    Thanks

  2. 10 years, 10 months ago vvanhees

    Hey Andrew,

    I’d like to remove it from this page http://flowingmotion.ca/test-page/ which is currently a private page. But I’d eventually like to remove it from all page.

    Thank you!

  3. 10 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Thanks.

    Top padding from all pages would look like this:

    #main { padding-top: 0; }
    

    Insert that under Appearance > Custom CSS.

    If you can tell me the page ID of your test page I can help with removing the padding on that page. When you edit your Test page there should be a single number in the URL, please let me know what that is.

  4. 10 years, 10 months ago vvanhees

    Page ID is 823. Thanks Andrew!

    It would be great to know the code I can use with the page ID for specific pages.

  5. 10 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    So that would look like this:

    .page-id-823 #main { padding-top: 0; }
    

    If you inspect the source on that page you’ll find a body tag near the top, the page class is in that tag.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More