Page 1 of 1

moving sidebar to right (with banner ad)

Posted: Wed Sep 26, 2007 5:25 pm
by renout
Hello

I'm building a cmsmadesimple site.
I would like to use the vertical menu + 2 colums template
I want the template on the right instead of the left. How can i manage that
Also i need to put a banner in the sidebar (where do i insert the script)

Hope someone can help

Re: moving sidebar to right (with banner ad)

Posted: Thu Sep 27, 2007 5:03 pm
by renout
no one?

Re: moving sidebar to right (with banner ad)

Posted: Sat Sep 29, 2007 3:55 pm
by Dr.CSS
I've looked thru a default install site and can't find a vertical menu with 2 col. template, maybe you are thinking of the CSSMenu top + 2 columns template...

If so you will need to change these...

div#main {
  margin-left: 29%; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
  margin-right: 2%; /* and some air on the right */
}
div#sidebar {
  float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
  width: 26%;    /* sidebar width, if you change this please also change #main margins */
  display: inline;  /* FIX ie doublemargin bug */
  margin-left: 0;
}

To this...

div#main {
  margin-left: 2%; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
  margin-right: 29%; /* and some air on the right */
}
div#sidebar {
  float: right;  /* set sidebar on the left side. Change to right to float it right instead. */
  width: 26%;    /* sidebar width, if you change this please also change #main margins */
  display: inline;  /* FIX ie doublemargin bug */
  margin-left: 0;
}