Title: Content width misbehaving
Last modified: August 31, 2016

---

# Content width misbehaving

 *  Resolved [bananaramallama](https://wordpress.org/support/users/bananaramallama/)
 * (@bananaramallama)
 * [10 years ago](https://wordpress.org/support/topic/content-width-misbehaving/)
 * Hi,
    I recently switched to this theme on a webpage I am working on – [warcrafters.dk](http://warcrafters.dk).
   I’m experiencing a weird issue, and hoping I’m just overseeing a simple solution.
   On all pages created before I installed this theme, the pages load as they should.
   On all pages created AFTER I installed the theme, the content width is screwed
   up and the content takes up only 172 pixels of available 825px – despite not 
   having changed that content should have a max-width of 94%. Overall, I have changed
   nothing to theme code since installing it, only made changes via the customize
   interface. I have tried disabling ALL plugins with no difference. I have tried
   switching to twentyfifteen theme, and pages look normal here. I can create new
   pages that also look normal in Twentyfifteen, but they will have the odd width
   when I switch back to the Agama theme. I’m stumped as to what is causing this.
   Has this been seen before and is there a solution?

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Thread Starter [bananaramallama](https://wordpress.org/support/users/bananaramallama/)
 * (@bananaramallama)
 * [10 years ago](https://wordpress.org/support/topic/content-width-misbehaving/#post-7368806)
 * Update: The issue is only present when the menu is set to be on left side of 
   content – when moved to right side, the content loads at the correct width.
 *  [ashiquzzaman](https://wordpress.org/support/users/ashiquzzaman/)
 * (@ashiquzzaman)
 * [10 years ago](https://wordpress.org/support/topic/content-width-misbehaving/#post-7368811)
 * Looks fine from my end. Could provide a screenshot ? or live example of the problem?
 *  Thread Starter [bananaramallama](https://wordpress.org/support/users/bananaramallama/)
 * (@bananaramallama)
 * [10 years ago](https://wordpress.org/support/topic/content-width-misbehaving/#post-7368814)
 * I’ve changed the sidebar back to being on the left side, and the problem is now
   on the live page again here:
    [http://warcrafters.dk/index.php/gallery/](http://warcrafters.dk/index.php/gallery/)
 *  [ashiquzzaman](https://wordpress.org/support/users/ashiquzzaman/)
 * (@ashiquzzaman)
 * [10 years ago](https://wordpress.org/support/topic/content-width-misbehaving/#post-7368824)
 * Try this CSS code –
 *     ```
       .page-id-24 .sidebar_left #primary, body:not(.blog_grid).sidebar_left #primary #content {float:left !important;}
       ```
   
 *  Thread Starter [bananaramallama](https://wordpress.org/support/users/bananaramallama/)
 * (@bananaramallama)
 * [10 years ago](https://wordpress.org/support/topic/content-width-misbehaving/#post-7368827)
 * Hm, that just takes all contents to have no margin to the sidebar, and the problem
   pages still have the odd width :/
 *  [ashiquzzaman](https://wordpress.org/support/users/ashiquzzaman/)
 * (@ashiquzzaman)
 * [10 years ago](https://wordpress.org/support/topic/content-width-misbehaving/#post-7368829)
 * May be I’m not clear about what you’re trying to achieve, Could you guide through
   your problem and let me know what you want to achieve ?
 *  Thread Starter [bananaramallama](https://wordpress.org/support/users/bananaramallama/)
 * (@bananaramallama)
 * [10 years ago](https://wordpress.org/support/topic/content-width-misbehaving/#post-7368832)
 * [This screenshot](http://warcrafters.dk/wp-content/uploads/2016/05/problem.png)
   should explain. At the moment, the content on the gallery subpage (and a few 
   others) takes up only the red square area. I want it to take up the blue square
   area, like other subpages that are functioning correctly. The problem is only
   there when the sidebar is on the left, but I want the sidebar there, so moving
   it to the right (Which gives the correct width) is a bad fix.
 * It’s a clean installation of the theme and the problem persists when I disable
   all plugins. I have tested that it’s there in Chrome, Firefox and IE on Windows,
   I don’t have access to a Mac at the moment to see if it happens there as well,
   But I’m guessing it does. 🙁
 *  [ashiquzzaman](https://wordpress.org/support/users/ashiquzzaman/)
 * (@ashiquzzaman)
 * [10 years ago](https://wordpress.org/support/topic/content-width-misbehaving/#post-7368846)
 * Seems like some conflicting CSS working under the hood, The theme author is pretty
   active on this forum, Wait the for the theme author to help you out.
 *  Thread Starter [bananaramallama](https://wordpress.org/support/users/bananaramallama/)
 * (@bananaramallama)
 * [10 years ago](https://wordpress.org/support/topic/content-width-misbehaving/#post-7368849)
 * Yeah, that’s my thinking as well, so far I haven’t found it, and the fact that
   it seems to only happen on new pages confuses me :/ I hope the theme author will
   have some input!
    Thanks for looking into it, ashiquzzaman!
 *  [ashiquzzaman](https://wordpress.org/support/users/ashiquzzaman/)
 * (@ashiquzzaman)
 * [10 years ago](https://wordpress.org/support/topic/content-width-misbehaving/#post-7368854)
 * Could be a bug or something like that prolly
 *  [Jaroslav Svetlik](https://wordpress.org/support/users/jerryscg/)
 * (@jerryscg)
 * [10 years ago](https://wordpress.org/support/topic/content-width-misbehaving/#post-7368905)
 * Hello bananaramallama,
 * Try next:
 * `Admin Dashboard -> Appearance -> Customize -> Styling -> Custom CSS`
 * & add next CSS code:
 *     ```
       #primary #content {
         width: 100%;
       }
       ```
   
 * Please let me know if that’s helps you, i will prepare fix for this bug.
 * Best Regards
 *  Thread Starter [bananaramallama](https://wordpress.org/support/users/bananaramallama/)
 * (@bananaramallama)
 * [10 years ago](https://wordpress.org/support/topic/content-width-misbehaving/#post-7368944)
 * Hi Jerryscg,
 * That does seem to fix it! 🙂 Thank you very much! For the quick response and 
   for providing a great theme! 🙂

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Content width misbehaving’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/agama/1.7.2/screenshot.png)
 * Agama
 * [Support Threads](https://wordpress.org/support/theme/agama/)
 * [Active Topics](https://wordpress.org/support/theme/agama/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/agama/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/agama/reviews/)

## Tags

 * [content](https://wordpress.org/support/topic-tag/content/)
 * [width](https://wordpress.org/support/topic-tag/width/)

 * 12 replies
 * 3 participants
 * Last reply from: [bananaramallama](https://wordpress.org/support/users/bananaramallama/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/content-width-misbehaving/#post-7368944)
 * Status: resolved