Home>Support>custom-page template

custom-page template

Hi,
I want to put to 0 the distance between header and first row only on a page.

I read this useful thread

Get rid of margin between header and first page builder row

and tried in CSS this code
[#main {
padding-top: 0;
}]
which works well but on all pages.

So I created a page template in my vantage-premium child theme
and called page-starthere.php as described in that thread.

Tried to paste the code
[#main {
padding-top: 0;
}]
but nothing happens

what I’m doing wrong?

URL: http://thebutterflyhunter.net/starthere/.

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

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

    Hi Phil

    You can fix/change this with some custom CSS. If you navigate to Appearance > Custom CSS, you’ll get our custom CSS editor. Just add the following code.

    .page-id-22 #main {
    	padding-top: 0;
    }
    
  2. 8 years, 11 months ago phil_traveler

    It worked very well! Thanks

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

    For sure :)

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