God Another Question regarding css the test site again was http://testpress.dramend.com/amend-2/, I currently have this main content as a fullwidth with white background:
But what I want to achieve was this kind of boxed layout with the same white background but it needs to be boxed like this sample:
I'm using wordpress optimized press latest versiom, it doesnt have any options of changing a section to boxed or fullwidth, There's an option to changed the background to an image but it would look like this once I've set it to the my background image:
Can I achieved the boxed layout on the second image just using plain css for the main content background?
HTML
//main container
<div style="background:#ffffff; class="row one-column cf ui-sortable" id="le_body_row_4" >
<div class="fixed-width">
<div class="one-column column cols" id="le_body_row_4_col_1">
// image html comes here
.. some more html
</div>
</div>
</div>
Thanks
You can do it through css but the problem is whatever module you are using is adding inline style to it,for example
your container with class
row one-column cf ui-sortable
and idle_body_row_4
has inline style like thisInline style is given preference over css file styles, if you can remove the inline style and add css to these classes
one-column column cols
It will solve your problem
First of all you are using
table
so by default,table
will take entire horizontal space, so make your container a fixedwidth
and assignmargin: auto;
to thatand than use
background-color: #fff;
ondiv
havingid
of#le_body_row_4