Hi,
I'm using OC 2.1.0.2 and have set my header, body and footer all to have a max width of 1200px. I have added a couple of html content modules which do not extend to the same size as the header and footer (neither does the 'Featured' module).
I have seen in other posts that I should modify css for .box >div in catalog/view/theme/stylesheet/stylesheet.css, but I cannot find .box anywhere. Where can I modify the default width for all modules?
This is still being built on local machine, so I don't have a link to send.
Cheers, Peadar.
You can try edit catalog/view/theme/your_theme/template/module/html.tpl
change: <div> to <div class="container">
change: <div> to <div class="container">
18 extra positions FREE, Unlimit style color for default theme FREE, Vietnamese Language, vietxuangas.com.vn
if you cannot find you can add them on your stylesheet. here's some example
html
Selects all <p> elements where the parent is a <div> element or
html
Selects all ".child" elements where the parent is ".parent" element
Code: Select all
div > p {
color: blue;
}
Code: Select all
<div>
<p>some content</p>
</div>
Code: Select all
.parent > .child {
color: blue;
}
Code: Select all
<div class="parent">
<div class="child">some content</div>
</div>
You can't control the weather, but you can change your mood.
You can't modify the visage, but you can show your smile.
You can't command someone else, but you can hold yourself.
You can't forecast tomorrow, but you can using today.
You can't obtain thanks, but you can exert yourself in everything.
OCEXTENSION.COM - YOUR PROFESSIONAL OPENCART EXTENSION STORE
You can't modify the visage, but you can show your smile.
You can't command someone else, but you can hold yourself.
You can't forecast tomorrow, but you can using today.
You can't obtain thanks, but you can exert yourself in everything.
OCEXTENSION.COM - YOUR PROFESSIONAL OPENCART EXTENSION STORE
Who is online
Users browsing this forum: No registered users and 12 guests