• Hello!
    I just started playing around with a wordpress theme. I added a second sidebar and it seems to work fine but the second sidebar wont align with content and original sidebar.

    I’ve tried to solve this myself for a few hours now but I’m just not getting anywhere. Anyone know why second sidebar (first sidebar from left) either positions above, belove or under the original sidebar or content?

    Any help would be greatly appreciated!

    The site!

    B.Reg.
    ebb

Viewing 1 replies (of 1 total)
  • Here it goes.

    Things to note while editing css.

    To get the centre piece to align on the right of the first sidebar, never use margins, use float: left.

    You have used margin for the sidebar on the right too. margin-left :736px; Do this with floats.

    HERE IS the SOLUTION

    The class container contains both sidebars and the center. Always make sure “content” class’s width is equal to the width of sidebar1+sidebar2+center+margins+paddings. Make the pixel count correct and your theme will be fixed.

Viewing 1 replies (of 1 total)
  • The topic ‘Two sidebars, alignment’ is closed to new replies.