WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Remove sidebar from sandbox (5 posts)

  1. jhenninger
    Member
    Posted 3 years ago #

    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

  2. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    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;
    }
  3. jhenninger
    Member
    Posted 3 years ago #

    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

  4. jhenninger
    Member
    Posted 3 years ago #

    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!

  5. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic