Support » Fixing WordPress » Remove sidebar from sandbox

  • Resolved jhenninger

    (@jhenninger)


    Hello,

    I’m having trouble removing the sidebar, or rather the sidebar placeholder, from the Sandbox theme. What happens when I remove the code is that I get a blank area where it seems the sidebar was before.

    I’m fairly new at WordPress and I tried the search function, but they just re-affirmed what I already knew… so please bare with me! I’m fairly proficient with HTML and CSS, and have experience with other CMS systems so my knowledge level is intermediate.

    Here are the steps I already took. I have removed the “<?php get_sidebar() ?>” code from the index.php page. I also checked the code and I can’t find the reason why the sidebar placeholder still shows up.

    Here is the link to the site I’m designing. http://infini9.com/wordpress/

    What I want is the body container to match up with the header container. Please help!

    Thanks a lot!
    -Josh

Viewing 4 replies - 1 through 4 (of 4 total)
  • Michael

    (@alchymyth)

    Forum Moderator

    I’m fairly proficient with HTML and CSS,

    that is all you need to fix the sidebar gap.

    in /wp-content/themes/sandbox/examples/2c-l.css:

    div#content {
    margin:0 0 0 200px;
    }

    Thank you so much alchymyth! It did the trick! Can I ask you another question please?

    What exactly is the ‘examples’ folder? I kind of disregarded it without looking into it because I figured they were simply examples.. but that’s not the case! Where/how does 2c-l.css interact with my other files?

    It looks like Sandbox can be setup in a 1, 2, or 3 column layout? How would I go about choosing these? I’m assuming it links to a php file somewhere?

    Thanks again 🙂
    -Josh

    I answered my own question, thanks anyways! 🙂

    I didn’t notice the CSS linked for some reason. It’s pretty interesting, such a simple layout allows it to be very flexible!

    Michael

    (@alchymyth)

    Forum Moderator

    if you already quite good with html and css, you might want to try to use a tool such as firefox web developer add-on – great tool to check these kind of css questions, and to find the css selectors responsible for certain html elements.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove sidebar from sandbox’ is closed to new replies.