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.

Adjust padding panel-row-style for singe page

11 years ago · Last reply by Sprongie 11 years ago

Hey,

I’m trying to figure out how to adjust the padding of the .panel-row-style for one particular page:

I have the following in in my child theme which allows me to adjust the padding for all the pages

.layout-full .panel-row-style{
    margin:0 -1000px;
    padding:30px 1000px 100px 1000px;
}

What is the code for page-id-35…
I tried:

.page-id-35-0.layout-full .panel-row-style

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Sprongie 11 years, 6 months ago

    Sorry, something went wrong with the code

    I have to following in my child theme to update padding for all the pages
    .layout-full .panel-row-style{
    margin:0 -1000px;
    padding:30px 1000px 100px 1000px;

    What is the code to adjust this for 1 particular page?

  2. Greg Priday Staff 11 years, 6 months ago

    Hi Martin

    Targetting that to one specific page should be possible with the following code.

    body.page-id-35 .layout-full .panel-row-style{
        margin:0 -1000px;
        padding:30px 1000px 100px 1000px;
    }

    Let me know if that does the trick.

  3. Sprongie 11 years, 6 months ago

    Thanks Greg.

    That worked for me!!

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