Primary – Content – Secondary layout & sidebars question
-
Hello again,
I apologize if this comes across slightly silly, but I can’t work out how the sidebars work here.. I need to have a left and right sidebar with a content in the middle.The CSS for this layout in the theme is:
/* Layout: Primary Sidebar - Content - Secondary Sidebar */ .layout-pcs .content-area { float: left; width: 100%; } .layout-pcs #content { margin-left: 26%; margin-right: 20%; } .layout-pcs #main .widget-area { float: left; } .layout-pcs #secondary { width: 22%; margin: 0 0 0 -100%; } .layout-pcs #tertiary { width: 16%; margin: 0 0 0 -16%; }
I don’t really understand how the margins above work- why are they ‘-100%’ and ‘-16%’? If I try to change percentages around, all the sidebars go either awol or become not very responsive.. I guess I’m asking if it’s possible to shift it all a bit and what is the ‘theory’ behind the settings of these margins, so that I understand how they work? I apologise if it’s a silly question, but can’t find the answer anywhere… =/
Thanks a lot,
Dom ??
- The topic ‘Primary – Content – Secondary layout & sidebars question’ is closed to new replies.