Jump to content


Photo
- - - - -

Adding space between two sidebars

sidebars pagelines space

Best Answer Rob , 12 June 2013 - 12:54 PM

Hi,

 

First, I strongly recommend using Firebug for Firefox or Chrome's Inspection Tool.

 

Try adding this code to Dashboard > PageLines > Site Options > Custom Code on any new line below body {}

 
.two-sidebar-right #pagelines_content #sidebar1 {
    width: 47.9%;
}
#sidebar1 {
    background-color: #C9D7EB;
    margin-right: 10px;
    min-height: 300px;
}

Let us know if you need further assistance with it.

Go to the full post


  • Please log in to reply
3 replies to this topic

#1 justinn

justinn

    Advanced Member

  • Members
  • 42 posts

Posted 12 June 2013 - 11:48 AM

Hi Guys,

 

This is bound to be so easy it's unbelievable, but it's got me stumped! 
I'm working on a layout for a client and I've got a three column layout: Main content | Sidebar 1 | Sidebar 2

 

What I need to do is add a little space (10px or so) between the two sidebars, but I just can't seem to find the way to do it. I've tried padding and margin on the sidebar div Id's. They have an effect, but not the right one.

 

You can see the layout I have so far here:

 

Please Login or Register to see this Hidden Content

 

I need space between those two blue panels in the centre block. Please could someone point me in the right direction?

 

Any help would be very gratefully appreciated.

 

Many thanks

Justin.



#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 12 June 2013 - 12:54 PM   Best Answer

Hi,

 

First, I strongly recommend using Firebug for Firefox or Chrome's Inspection Tool.

 

Try adding this code to Dashboard > PageLines > Site Options > Custom Code on any new line below body {}

Please Login or Register to see this Hidden Content

Let us know if you need further assistance with it.



#3 justinn

justinn

    Advanced Member

  • Members
  • 42 posts

Posted 12 June 2013 - 01:07 PM

Hi Rob,

 

Brilliant, Thanks... I'll give it a try. I use Code Inspector in Chrome but just couldn't seem to locate the correct thing to tweak :)

 

Thanks

Justin



#4 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 12 June 2013 - 01:33 PM

No problem.







Also tagged with one or more of these keywords: sidebars, pagelines, space