• Hello,

    My website is https://www.vincyezine.com. The site was built off the Soft Magazine theme. I’m however trying to convert it from a 3 section (content and 2 sidebar) to a 2 sections (content and one side bar)

    This is what I’ve done.
    I’ve changed the widths
    #content {
    overflow: hidden;
    float: left;
    width: 620px;
    }

    #sidebar-primary {
    overflow: hidden;
    float: right;
    width: 280px;
    margin-left: 15px;

    and i have changed the sidebar.php to not include the sidebar section i don’t want. So now all that’s in the folder is this.

    <?php global $theme; ?>
    
    <div id="sidebar-primary">
    
        <?php
            if(!dynamic_sidebar('sidebar_primary')) {
                /**
                * The primary sidebar widget area. Manage the widgets from: wp-admin -> Appearance -> Widgets
                */
                $theme->hook('sidebar_primary');
            }
            $theme->hook("sidebar_primary_after");
        ?>
    
    </div><!-- #sidebar-primary -->

    I am using the editor section under appearance to edit the theme. I know it’s working because the secondary sidebar is done now, but i wont get the other columns to shift.

    SOMEONE PLEASE HELP :S…

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]

  • The topic ‘Adjusting width not working on theme.’ is closed to new replies.