Home>Support>Changing Width

Changing Width

By Vipul Kothari, 9 years ago. Last reply by Magus, 9 years ago.

I am trying to change width of rows on my theme.

I have worked out using inspect element what I need to change, how ever I am unable to find where to change the actual code on my wordpress site.

I am trying to change the following:

I can also see the CSS which I could change but am unable to find it in the style sheet.

element.style {
margin-left: -634.5px;
margin-right: -634.5px;
padding-left: 634.5px;
padding-right: 634.5px;
border-left-width: 0px;
border-right-width: 0px;
}

Please help

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

  1. 9 years, 4 months ago Vipul Kothari

    Sorry forgot to add the other code i can see in inspect elemenet

  2. 9 years, 4 months ago Vipul Kothari
  3. 9 years, 4 months ago Vipul Kothari

    4th time lucky

     <div class="panel-row-style-element1 siteorigin-panels-stretch element1 panel-row-style" data-stretch-type="full" style="margin-left: -361.5px; margin-right: -361.5px; padding-left: 361.5px; padding-right: 361.5px; border-left-width: 0px; border-right-width: 0px;"> 
  4. 9 years, 4 months ago Magus
    Hi, I Work Here

    Hi Vipul

    PageBuilder writes it’s css styles directly to the page elements it creates so does not use a css file. When you create a row in PageBuilder in the screen where you decide how many columns you require there are some extra tabs on the right. If you expand the attibutes tab you can add CSS entries into the CSS Styles box, one rule per line. Entries made here do not need to be wrapped in brackets, nor do they need the closing semi-colon on each statement. Your code from above would look like this when entered this way.

    margin-left: -634.5px
     margin-right: -634.5px
     padding-left: 634.5px
     padding-right: 634.5px
     border-left-width: 0px
     border-right-width: 0px
    

    Hope this helps point you in the right direction.

    Magus

  5. 9 years, 4 months ago Vipul Kothari

    That works perfectly.

    Thank you.

    Much appreciated

  6. 9 years, 4 months ago Magus
    Hi, I Work Here

    You are welcome

    If you need any more help please do not hesitate to open a new thread.

    Magus

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