| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Change background colour - only in certain menu boxes | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Change background colour - only in certain menu boxes
I would like to change the background colour in some of my menu boxes.
I see I can change teh colour code in skin1.css (which changes all the menu boxes) I am presuming I need to add a background defintaion (style) into the code for each tpl file that creates the menu box? Not being very literate in using style sheets, what code whould I need to put in the TPL files(if thats where I put it?) Any pointiers greatly appreciated. Cheers Zane
__________________
Version 4.7.7 |
|||||||
#2
|
|||||||
|
|||||||
Re: Change background colour - only in certain menu boxes
You'll need to create a new menu.tpl for each different box style you want, as menu.tpl calls the styles that control the color. Simply create duplicates of menu.tpl (menu1.tpl, menu2.tpl, etc), call new styles from each (VertMenuBox1, VertmenuBox2, etc) and then change the call from each menu you want to change So if you wanted to change the categories menu for example, you'd open up customer/categories.tpl and change menu.tpl to menu2.tpl. Make sense?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
Re: Change background colour - only in certain menu boxes
Thanks Balinor,
Brilliant explanation! I'll dabble with it now Cheers
__________________
Version 4.7.7 |
|||||||
|
|||
X-Cart forums © 2001-2020
|