I want to have a div class thats 100% of the page not 100% of the 1000px wrapper, so a div with a background style thats full width but the content still 1000px… in the style.CSS the wrapper width is 1000px
This is my content CSS section… What I want to learn here is how to add some CSS rules to allow me to create a div with a 100% width while keeping all content inside the 1000px wrapper… Make sense?
PS. I added some CSS that us useless like the #wrapper .pricing-wrapper thats because of testing… the div with the grey texture is #container_bg .pricing-wrapper { clear:both; width:100%; height:100%; background:url(‘MY IMAGE’) }
I’m not very clear what you’re trying to achieve here. Could you post a rough diagram of the layout you want? It would also help to have the HTML that goes with the above CSS.
In your code, your #wrapper’s value is 1000, it should be 1000px.
You should imagine div elements as boxes. If you’d like to have the biggest box (with 100% width) to be the container for a smaller box (div with 1000px width), then you’d have to place the smaller box inside the bigger box.
You could use the <body> element to be your 100% container. If you, for whatever reason, require an extra <div>, then your box hierarchy should be like this:
<div id="outerWrapper">
<div id="innerWrapper">
.
. <!-- all other elements -->
.
</div>
</div>
Yeah I get divs… I just did not know how to create a div outside of the wrapper so what I did was make the wrapper 100% and created a class that acted as the container…
Yeah I figured it would be with the template… I added the div tags to the portfolio templates, but I do not see a blog template in the page settings it is using default template…
You’ll need to check index.php and/or any other .php files you’re using. If it’s using pages, more specifically the default page template, then you’ll need to edit page.php.