| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Editing VertMenuBox and other classes | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Editing VertMenuBox and other classes
I'd like to modify or extend VertMenuBox (I want to stick on a custom border).
Where's in the X_Cart files is it stored? Where's the X_Cart classes section? Is VertMenuBox a standard PHP class? |
|||||||
#2
|
|||||||||
|
|||||||||
vertmenubox is a class in the css file (skin1/skin1.css)
you will probably have to edit each of the menu templates to be able to add a border too. Switch on the debugger console in your admin area to see which templates are being called
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#3
|
|||||||
|
|||||||
Vertmenubox
Quote:
In skin1/skin1.css I see parameters specified for vertmenubox's background color, font, etc; but I do not see the actual class-defining php code. Where is it? |
|||||||
#4
|
|||||||||
|
|||||||||
This class is called from the templates that create the menus
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#5
|
|||||||
|
|||||||
VertMenuBox
yes, I see it being used in the template code, but where is the class "VertMenuBox" DEFINED?
|
|||||||
#6
|
|||||||
|
|||||||
vertmenubox
ok, I see what's going on now. There is no 'box definition' code, the whole class definition is that font and color specification stuff. got it.
|
|||||||
#7
|
|||||||||
|
|||||||||
exactly
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#8
|
|||||||
|
|||||||
You can add a border description to the VertMenuBox style if you like.
such as: Code:
__________________
ex x-cart guru |
|||||||
|
|||
X-Cart forums © 2001-2020
|