X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Editing VertMenuBox and other classes (https://forum.x-cart.com/showthread.php?t=2150)

pureslack 04-03-2003 11:40 PM

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?

shan 04-04-2003 02:01 AM

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

pureslack 04-06-2003 12:33 PM

Vertmenubox
 
Quote:

Originally Posted by shan
vertmenubox is a class in the css file (skin1/skin1.css)



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?

shan 04-06-2003 12:38 PM

This class is called from the templates that create the menus

pureslack 04-06-2003 01:53 PM

VertMenuBox
 
yes, I see it being used in the template code, but where is the class "VertMenuBox" DEFINED?

pureslack 04-06-2003 07:15 PM

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.

shan 04-07-2003 01:48 AM

exactly :wink:

funkydunk 04-07-2003 02:26 AM

You can add a border description to the VertMenuBox style if you like.

such as:

Code:

        border-top: 1px solid #CCCCCC;
        border-right: 1px solid #CCCCCC;
        border-bottom: 1px solid #CCCCCC;
        border-left: 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.