| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Editing VertMenuBox and other classes | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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. ![]() ![]() |
|||||||||
#3
|
|||||||
|
|||||||
![]() 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. ![]() ![]() |
|||||||||
#5
|
|||||||
|
|||||||
![]() yes, I see it being used in the template code, but where is the class "VertMenuBox" DEFINED?
|
|||||||
#6
|
|||||||
|
|||||||
![]() 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. ![]() ![]() |
|||||||||
#8
|
|||||||
|
|||||||
![]() You can add a border description to the VertMenuBox style if you like.
such as: Code:
__________________
ex x-cart guru ![]() |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|