WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Move l_sidebar to the left of contentleft (6 posts)

  1. grizzarkhov
    Member
    Posted 4 years ago #

    Beyond frustrated with this. Love this theme and want to stick with it but I really need the main content area to be located between the two sidebars rather than to the left of both of them. Any help is much appreciated.

  2. grizzarkhov
    Member
    Posted 4 years ago #

    Nevermind. I noodled through it. I moved the l_sidebar include into a <div id=l_sidebar> and placed it in the code above the contentleft. Then I massaged the margins and padding until everything lined up properly.

  3. MaxBux
    Member
    Posted 3 years ago #

    Hi,

    I am a complete noob, so can please explain step by step how you separated the sidebars on elements of SEO.

    Thank You
    Regards

  4. Niels Christian
    Member
    Posted 3 years ago #

    @grizzarkhov
    Is it in this one you changed the margin and padding

    #l_sidebar {
    	float: left;
    	width: 203px;
    	margin: 40px 0px 0px 0px;
    	padding: 0px 19px 20px 19px;
    	border-left: 1px solid #E2DDDE;
    	font:11px/18px Verdana, Arial, Helvetica, sans-serif;
    	}

    ?
    @MaxBux
    I believe you move this line

    <?php include(TEMPLATEPATH."/l_sidebar.php");?>

    in both home.php and index.php into a newly created div tag above the contentleft div tag

  5. MaxBux
    Member
    Posted 3 years ago #

    Thanks Niels,

    I managed to move the side bar to the right but it now has two borders, on its right.

    I did not change anything but the div's

    Regards

  6. Niels Christian
    Member
    Posted 3 years ago #

    yes, well check your style.css, look for

    #l_sidebar {
    	float: left;
    	width: 203px;
    	margin: 40px 0px 0px 0px;
    	padding: 0px 19px 20px 19px;
    <strong>	border-left: 1px solid #E2DDDE;</strong>
    	font:11px/18px Verdana, Arial, Helvetica, sans-serif;
    	}

    my bold, this is the line making the borders.

    or check the css style for the right side bar (#r_sidebar)

    the code should be pretty straight forward, explaining a lot.

Topic Closed

This topic has been closed to new replies.

About this Topic