ThemeShaper Forums » Thematic


Resize container div after removing sidebar

(4 posts)
  • Started 13 years ago by Sabra
  • Latest reply from lastraw
  • This topic is not resolved
  1. Sorry if this is a noob question, but I'm unable to figure this out. I've removed the sidebar from one of my pages ('contact') in my functions.php.

    I already adjusted the #container and #content to 450 and 500 pixels in my child theme, but now I just want the 'contact' page to be 800 px wide. I tried using body.slug-contact #container {width:800px;} and #container (width:800px;} but the thing doesn't grow an inch!

    How do I do this?



    Posted 13 years ago #
  2. first to help analyze and any all CSS problems.

    second, you also will need to widen the #content div, and maybe .hentry

    why not just use the full-width template for the contact page? then it will happen automagically.

    Posted 13 years ago #
  3. Thank you, I have Firebug. And I've set the content and container divs, and the .hentry class to 800px. However, the page is still 450px wide. When I use the full-width template for the contact page, it stretches to 940 px and I want it to be 800px.

    I'd like know why the code in my first post doesn't work? According to the tutorial, you should be able to adjust each page seperately by using body.slug-whatever.

    Posted 13 years ago #
  4. can you send a link?

    Posted 13 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.