ThemeShaper Forums » Thematic

how to centre #container in #main and #content in #container

(2 posts)
  • Started 2 years ago by boerenooi
  • Latest reply from em hr
  • This topic is not resolved
  1. boerenooi
    Member

    Hi guys!!!!

    I'm busy with a one-column childtheme and I need to centre #container in #main and #content in #container, but not have the text centred, only the containers. Is there any help available on this, or can someone help me with it? I dont have anything online to show, cause I am working on a local server. I have an image to show what I want to do...
    http://www.orangerocket.co.za/centred.jpg

    please please please help me with this. :D

    Thanks
    B :)

    Posted 2 years ago #
  2. em hr
    Moderator

    Hi boerenooi-

    This may help you on your way.

    #main {
    margin:0 auto;
    width:960px;
    }

    or change width of #main to a value less than the width of #wrapper

    #container {
    float:none;
    margin:0 auto;
    width:620px;
    }

    or change width of #container to a value less than the width of #main

    #content {
    margin:0 auto;
    overflow:hidden;
    width:540px;
    }

    or change width of #content to a value less than the width of #container

    -Gene

    Posted 2 years ago #

RSS feed for this topic

Reply

You must log in to post.