Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Editing VertMenuBox and other classes

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-03-2003, 11:40 PM
 
pureslack pureslack is offline
 

Newbie
  
Join Date: Apr 2003
Posts: 4
 

Default 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?
Reply With Quote
  #2  
Old 04-04-2003, 02:01 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

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
Reply With Quote
  #3  
Old 04-06-2003, 12:33 PM
 
pureslack pureslack is offline
 

Newbie
  
Join Date: Apr 2003
Posts: 4
 

Default 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?
Reply With Quote
  #4  
Old 04-06-2003, 12:38 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

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
Reply With Quote
  #5  
Old 04-06-2003, 01:53 PM
 
pureslack pureslack is offline
 

Newbie
  
Join Date: Apr 2003
Posts: 4
 

Default VertMenuBox

yes, I see it being used in the template code, but where is the class "VertMenuBox" DEFINED?
Reply With Quote
  #6  
Old 04-06-2003, 07:15 PM
 
pureslack pureslack is offline
 

Newbie
  
Join Date: Apr 2003
Posts: 4
 

Default 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.
Reply With Quote
  #7  
Old 04-07-2003, 01:48 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

exactly
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #8  
Old 04-07-2003, 02:26 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

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;
__________________
ex x-cart guru
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:19 AM.

   

 
X-Cart forums © 2001-2020