WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How do you "push" the sidebar further to the right? (3 posts)

  1. Bellerephon
    Member
    Posted 6 years ago #

    Hello everyone,

    I'm using the digg 2-column from WPDesigner theme, and I would like to widen my post width, thereby necessarily pushing my sidebar to the right.

    There is no #content width:---% in my stylesheet.

    Any help would be appreciated.

    My site is here.

    Thanks!

  2. Adam Brown
    Member
    Posted 6 years ago #

    With your particular theme, this looks like it will be a little tricky. The theme author coded the width into multiple places. For example, you'll need to change the width in all three of these:

    .narrowcolumnwrapper{
    	margin: 5px 0 0;
    	float: left;
    	width: 600px;
    	background: #fff url(images/bg_narrowcol.gif) repeat-y;
    }
    
    .narrowcolumn{
    	float: left;
    	width: 500px;
    	background: url(images/bg_narrowcol_bottom.gif) no-repeat left bottom;
    }
    
    .content{
    	float: left;
    	width: 500px;
    	background: url(images/bg_narrowcol_top.gif) no-repeat left top;
    }

    And somewhere else in your CSS, the theme author has hard-coded other widths. As a result, expanding these widths causes your sidebar to drop below the content. So you'll also need to find the sidebar's width in the CSS and decrease it by whatever you amount you increase those.

    Incidentally, answering questions like yours is quite easy if you use FireFox with the "Web Developer" extension. Give it a try.

  3. Bellerephon
    Member
    Posted 6 years ago #

    You're right...
    I think I'm gonna have to go with a different theme.

    thanks anyhow!!

Topic Closed

This topic has been closed to new replies.

About this Topic