![]() |
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? |
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 |
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? |
This class is called from the templates that create the menus
|
VertMenuBox
yes, I see it being used in the template code, but where is the class "VertMenuBox" DEFINED?
|
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.
|
exactly :wink:
|
You can add a border description to the VertMenuBox style if you like.
such as: Code:
border-top: 1px solid #CCCCCC; |
All times are GMT -8. The time now is 03:09 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.