changing the header and menu widths

  • Author
    Posts
  • #1032224

    Right now, the header and the menus areas go across the fill width of the window. I would like to change it so that they have the same margins as the body content and I can put a border around it all. I want it to end up looking like this:

    Any advice would be appreciated. Thanks!

    The blog I need help with is rorysnewblog.wordpress.com.

    #1032328

    zandyring
    Staff

    Hey Rory,
    This will get you started:

    #body-container {
        border: 1px solid gray;
        margin: 0 auto;
        padding: 15px;
        width: 1180px;
    }

    You can see that you can adjust that padding to make the outline further out or closer in to your content. Leave your margin setting as it is shown, because that ensures it centers the content. Anything else is adjustable!

    Good luck,
    -Z

    #1032330

    Thanks Z! Worked perfectly…of course. I appreciate it. :-)

    #1032333

    zandyring
    Staff

    Glad to help :)

The topic ‘changing the header and menu widths’ is closed to new replies.