WordPress.org

Support

Support » Themes and Templates » [Resolved] How can I bring two columns closer?

[Resolved] How can I bring two columns closer?

  • 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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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.

    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/

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

    Thanks, Moshu,

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

    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

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] How can I bring two columns closer?’ is closed to new replies.