Title: Adjusting width not working on theme.
Last modified: August 20, 2016

---

# Adjusting width not working on theme.

 *  [Lordwes](https://wordpress.org/support/users/lordwes/)
 * (@lordwes)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/adjusting-width-not-working-on-theme/)
 * Hello,
 * My website is [http://www.vincyezine.com](http://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.

## Tags

 * [Coding](https://wordpress.org/support/topic-tag/coding/)
 * [css](https://wordpress.org/support/topic-tag/css/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Lordwes](https://wordpress.org/support/users/lordwes/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/adjusting-width-not-working-on-theme/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
