WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How can I bring two columns closer? (7 posts)

  1. misty9
    Member
    Posted 6 years ago #

    Hi,

    I've installed a 2-column theme. After removed its default beige colored background from the left sidebar, I'd like to trim off the extra space between the two columns. Does anyone where I should look for the code that takes care of this? I didn't find it after searched all files that came with the theme.

    Thanks.

  2. lborloz
    Member
    Posted 6 years ago #

    Can you provide a link to your site? It's probably a simple CSS change, but it's hard to tell without being able to look at it.

  3. misty9
    Member
    Posted 6 years ago #

    Hi Lborloz,

    Thanks for your reply. Please bare with my site below that is far from ready ;-). I've added some code to the default theme(Green bug) so that the site is having a mouse over menu. I've also edited the sidebar.php so that the default background for the side bar is removed. The side bar background was composed by 3 image parts ltop, lmid and lbot that are defined in style.css. After removing the background, it gives the extra space between the side bar and the rest of the page. I wish to bring them closer.

    http://stocktrends.skybluedot.com/wdp4_stocktrends/

  4. moshu
    Member
    Posted 6 years ago #

    Change the width of the div id="right" in the stylesheet.

  5. misty9
    Member
    Posted 6 years ago #

    Thanks, Moshu,

    There is already <div id="right"> in the sidebar.php, I can't find it in Stylesheet.css.

  6. moshu
    Member
    Posted 6 years ago #

    You should learn how to read the stylesheet - if you want to mess with the code. There is no excuse for not doing it!
    I didn't say to touch anything in the sidebar.php.

    #right <=== THIS IS THE PART IN THE STYLESHEET

    http://www.w3schools.com/css/default.asp

  7. misty9
    Member
    Posted 6 years ago #

    hehe, You are right, Moshu. Will learn how to read stylesheet and so much more about css, php and html. Your suggestion has fixed my problem. Thanks so much.

Topic Closed

This topic has been closed to new replies.

About this Topic