Home>Support>Row Spacing on Home Page and Other Pages

Row Spacing on Home Page and Other Pages

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!
Need to know if I am doing the right thing…
For the Home Page and pages where I have Meta Slider, I put in the custom CSS to remove the spacing between the Slider and the First row.
———————————————–
.layout-full .panel-row-style.panel-row-style-full-width {
padding-top: 0px;
}
#main.site-main {
padding-top: 0px;
}
———————————————–
However, in my Blog page, I do not have a Slider and the First row or the Title of the article comes very close to the Menu. Tried putting padding in the rows and it doesn’t work. What should I be doing? How to style the padding between menu, slider and rows for each page?

URL: http://www.nrza.net

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, 9 days ago Andrew Misplon
    Hi, I Work Here

    Hi Chuk

    Almost there. Let’s rather try:

    .home.layout-full .panel-row-style.panel-row-style-full-width {
    padding-top: 0px;
    }
    .home #main.site-main {
    padding-top: 0px;
    }
    

    Assuming you only want these changes on the home page.

    Hope that helps :)

  2. 10 years, 8 days ago Chuk Yong

    It works!

    Now…how to do the same for a particular page?

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

    Sure :)

    The above CSS wouldn’t be required if you set each page slider using the Page Slider drop down menu in the right column. Sliders have to be created within the Meta Slider plugin but you can create one slide sliders. Perhaps give that a try.

  4. 10 years, 8 days ago Andrew Misplon
    Hi, I Work Here

    Sorry, I’ve got too many threads open at once. Let me clarify:

    To remove the #main container padding on all pages you’d say:

    #main { padding-top: 0; }
    

    However you could look at leaving that padding it doesn’t usually cause a problem.

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

    Next, to remove padding from a particular row you can combine Custom CSS and Edit Row > Attributes > CSS Row Class. I cover this in the following thread:

    Thread: Too much white space between rows in page builder

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