Home>Support>Adjust padding panel-row-style for singe page

Adjust padding panel-row-style for singe page

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. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 1 month ago Sprongie

    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. 10 years, 1 month ago Greg Priday
    Hi, I Work Here

    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. 10 years, 1 month ago Sprongie

    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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More