Override css-class for one color style

Feel free to talk about everything related to our Joomla Products
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Sat Nov 12, 2011 5:32 pm
Hello,

i saw postnote isn't supported in the forum anymore, so i try it here.
i had made a third style for the template and this has worked fine, but now i see there are some css rules the same for all three styles and i want to change only a single one (for the menu color).

I tried it with the override.css but that hasn't worked. Perhaps i do something wrong there.

Can somebody help me to change only a single css rule for one style?

Do i need there an if/else condition or can i make it just within the *.css?

Thanks Markus
User avatar
Junior Boarder

GK User
Wed Nov 16, 2011 12:55 pm
It would help if you can post a link to your website...

The way templates works are as follows
first template.css
then stylex.css
then override.css
then templates custom css rules if there is any
then module css files

last one will overwrite the previous ones if there are same classes.
User avatar
Platinum Boarder

GK User
Wed Nov 16, 2011 1:11 pm
The way I always do this is to remove the the respective global CSS part from template.css then place this into each style1,2,3 file at the bottom....Any changes can then be made directly to the style<number>.css individually...The downside of this is that any template upgrades require this to be added again hence I put at the bottom ..

Dave
User avatar
Expert Boarder


cron