Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Adding a right sidebar to kakumei


_ck_
Participant

@_ck_

This is like CSS 101.

On every page in kakumei, the width is controlled by #main which is 760px

Make a new wrapper that superceeds #main (wraps #main, not replace it) and in side that wrapper make #main float:left, then create a new div for the sidebar which floats right.

Then adjust the width of main and the sidebar as necessary to fit your desired page width.

header.php

#wrapper open (forced width 960px)

#sidebar (float:right: 150px)

sidebar content

close #sidebar

#main (float:left 760px)

blah blah

footer.php

close #main

close #wrapper

Skip to toolbar