ggyyvv Posted May 1, 2013 Share Posted May 1, 2013 (edited) Hi! version 1.4.4.0 I want to change background of the center column (# center_column), so that it everywhere except at the home page. On the product page is no problem - there is connected its own stylesheet. But the derivation of the main page and other pages are connected as one and same CSS. Therefore, it is impossible to divide (((( Maybe, need to connect your CSS. I do not understand how to do it. Share your thoughts. I would be glad of any information! Edited May 1, 2013 by ggyyvv (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted May 1, 2013 Share Posted May 1, 2013 you should edit .tpl file of your theme, add simple {if} condition which will be checking the viewing page - if page ! == homepage then add .class css style to the <div id="center_column" style="class"> Link to comment Share on other sites More sharing options...
ggyyvv Posted May 1, 2013 Author Share Posted May 1, 2013 you should edit .tpl file of your theme, add simple {if} condition which will be checking the viewing page - if page ! == homepage then add .class css style to the <div id="center_column" style="class"> I need to add in header.tpl? Link to comment Share on other sites More sharing options...
vekia Posted May 1, 2013 Share Posted May 1, 2013 I need to add in header.tpl? in header.tpl your have to add if condition which will create a css class then in global.css you have to create this class (with !important tags) if you don't know how to do that, let us know Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now