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.

Changing Width

Resolved 6 replies pluginplugin-page-builder
10 years ago · Last reply by Magus 10 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.

Need fast email support? Get SiteOrigin Premium

Replies

6
  1. Vipul Kothari 10 years, 9 months ago

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

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

    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. Magus Staff 10 years, 9 months ago

    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. Vipul Kothari 10 years, 9 months ago

    That works perfectly.

    Thank you.

    Much appreciated

  6. Magus Staff 10 years, 9 months ago

    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.

Have a different question or issue?

Start New Thread