Title: CSS for the wrapper
Last modified: August 21, 2016

---

# CSS for the wrapper

 *  [LoudR](https://wordpress.org/support/users/loudr/)
 * (@loudr)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/css-for-the-wrapper/)
 * Caroline,
 * I’m trying to control the content reflow relative to the size of the browser 
   window.
 * My thought was that this would be CSS for the wrapper containing the h1 and body
   tags. I was hoping to better understand how these divs are nested within each
   other.
 * This wrapper information might be contained in <article class = “post-2 page 
   type-page status-publish hentry” id = “post2”> but I can’t find that code.
 * Could you help please? Thank you in advance!

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

 *  Theme Author [Caroline Moore](https://wordpress.org/support/users/sixhours/)
 * (@sixhours)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/css-for-the-wrapper/#post-3709331)
 * Not really sure what you’re trying to do, but you can use a program like Firebug
   or Chrome Developer Tools to Inspect your code to pinpoint specific areas and
   check the applied CSS, search for specific code snippets, etc.
 *  Thread Starter [LoudR](https://wordpress.org/support/users/loudr/)
 * (@loudr)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/css-for-the-wrapper/#post-3709379)
 * Thanks for replying so promptly!
 * There are two issues, both which are related to controling what happens when 
   the size of the browser window changes. I’d like to make the wrappers a fixed
   size to avoid the content from reflowing.
 * The first is an h1 and content held within this div:
 * <article id=”post-2″ class=”post-2 page type-page status-publish hentry”>
 * The second is the background image. It seems to move as the size of the browser
   window changes. I’d like it to be static anchored in one place.
 * Is this explanation a little more clear?
 * Thanks again.
 *  [afzaal1985](https://wordpress.org/support/users/afzaal1985/)
 * (@afzaal1985)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/css-for-the-wrapper/#post-3709418)
 * Please post a link to your site.
 * Afzaal
 *  Thread Starter [LoudR](https://wordpress.org/support/users/loudr/)
 * (@loudr)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/css-for-the-wrapper/#post-3709660)
 * [http://www.olsonbillerduo.com/practice](http://www.olsonbillerduo.com/practice)
 *  Theme Author [Caroline Moore](https://wordpress.org/support/users/sixhours/)
 * (@sixhours)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/css-for-the-wrapper/#post-3709662)
 * Sorry, I’m still not clear, but I think you’re referring to the responsive media
   queries for smaller screens. I don’t recommend removing them because it will 
   break the site for mobile devices, but that will ensure the content does not 
   reflow. They’re located toward the bottom of the stylesheet, within `@media screen`
   declarations.
 * Here’s a tutorial on full-screen background images, if that’s what you’re trying
   to do:
    [http://css-tricks.com/perfect-full-page-background-image/](http://css-tricks.com/perfect-full-page-background-image/)
 * You can also set the `background-position` on the body element to `static` to
   see if that creates the effect you want. You can read more about background positioning:
   
   [http://www.w3schools.com/cssref/pr_background-position.asp](http://www.w3schools.com/cssref/pr_background-position.asp)

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

The topic ‘CSS for the wrapper’ is closed to new replies.

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

 * 5 replies
 * 3 participants
 * Last reply from: [Caroline Moore](https://wordpress.org/support/users/sixhours/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/css-for-the-wrapper/#post-3709662)
 * Status: not resolved