This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Row Spacing on Home Page and Other Pages

10 years ago · Last reply by Andrew Misplon 10 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

5
  1. Andrew Misplon Staff 10 years, 7 months ago

    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. Chuk Yong 10 years, 7 months ago

    It works!

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

  3. Andrew Misplon Staff 10 years, 7 months ago

    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. Andrew Misplon Staff 10 years, 7 months ago

    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. Andrew Misplon Staff 10 years, 7 months ago

    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.

Have a different question or issue?

Start New Thread