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

Vertical menu link backgrounds...

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-02-2006, 05:18 AM
 
illumination illumination is offline
 

Member
  
Join Date: Aug 2006
Posts: 12
 

Default Vertical menu link backgrounds...

In my vertical menus - I would the background colour of the selected link to change while hovering - and to span the width of the menu.

I have tried to insert code "BACKGROUND: #ffffff;" (as below) however every time I do x-cart tells me that the "File operation is failed" and then reverts to the original code.

}
.VertMenuItems:hover {
COLOR: #ffffff; TEXT-DECORATION: none; BACKGROUND: #ffffff;"

Is this the wrong code, or am I simply going about it the wrong way?

Also - how do I go about creating a different style sheet for each of the vertical menus?

Cheers - Heath K.
__________________
Illumination Records
X-Cart 4.0.19
Windows XP.
Reply With Quote
  #2  
Old 10-02-2006, 05:29 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Vertical menu link backgrounds...

The correct code is:

.VertMenuItems:hover {
COLOR: #ffffff; TEXT-DECORATION: none; background-color: #FFFFFF; display: block;}

You had a quote in there which was probably screwing it up. Also, make sure your skin1.css file is writable in order to save the changes.

To create a different style for each menu, you would need to create a different menu.tpl file for each menu, and then change the name of the menu template being called at the bottom of each file (categories.tpl, help.tpl, special.tpl, etc)
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 10-02-2006, 05:36 PM
 
illumination illumination is offline
 

Member
  
Join Date: Aug 2006
Posts: 12
 

Default Re: Vertical menu link backgrounds...

thanks for that balinor.

It would appear that my skin1.css file has infact become unwritable as I can't make that or any other changes.

I don't remember changing any such settings and i'm unsure how to make it writable. If you could let me know i'd really appreciate it.
__________________
Illumination Records
X-Cart 4.0.19
Windows XP.
Reply With Quote
  #4  
Old 10-02-2006, 06:05 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Vertical menu link backgrounds...

You can change permissions via FTP or via your Cpanel
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 10-02-2006, 06:26 PM
 
illumination illumination is offline
 

Member
  
Join Date: Aug 2006
Posts: 12
 

Default Re: Vertical menu link backgrounds...

Sorry - I'm quite lost. I can't seem to find any permissions settings.
Could you please be more specific?
__________________
Illumination Records
X-Cart 4.0.19
Windows XP.
Reply With Quote
  #6  
Old 10-02-2006, 06:31 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Vertical menu link backgrounds...

A permission is something that is set on a file...you can do that via your FTP client, or via your Host's control panel. I always find FTP to be the easiest:

Open up the site in FTP, browse to the directory where the file is...in this case, skin 1. Right click on the file...go to Permissions. Set it so that it is world writable (i.e. put a check next to each 'writable' box.). That should do it.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 11:03 AM.

   

 
X-Cart forums © 2001-2020