Page 1 of 1
Change content width of information page
Posted: Thu Sep 03, 2015 4:04 pm
by uwe_kwigx
Hello,
i want to change the content of the information pages. I am aware that i can add a sidebar to the left or right to reduce the width but i want to change it to a specific value.
I didnt find any #content or #information in information.tpl or stylesheet of my theme (default opencart theme).

Re: Change content width of information page
Posted: Thu Sep 03, 2015 4:40 pm
by qahar
Site width controlled by Bootstrap class .container which is responsive
You can add custom class to information.tpl then use it to define specific width.
Re: Change content width of information page
Posted: Thu Sep 03, 2015 9:26 pm
by viethemes
uwe_kwigx wrote:Hello,
i want to change the content of the information pages. I am aware that i can add a sidebar to the left or right to reduce the width but i want to change it to a specific value.
I didnt find any #content or #information in information.tpl or stylesheet of my theme (default opencart theme).

To do that, you can install my free extension
Custom CSSand add code below
Code: Select all
body[class*="information-information"] #content {
width: 500px;
}
Re: Change content width of information page
Posted: Wed Sep 09, 2015 4:06 pm
by uwe_kwigx
viethemes wrote:
To do that, you can install my free extension
Thank you very much, this worked flawless!