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)
-   -   Vertical menu link backgrounds... (https://forum.x-cart.com/showthread.php?t=25428)

illumination 10-02-2006 05:18 AM

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.

balinor 10-02-2006 05:29 AM

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)

illumination 10-02-2006 05:36 PM

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.

balinor 10-02-2006 06:05 PM

Re: Vertical menu link backgrounds...
 
You can change permissions via FTP or via your Cpanel

illumination 10-02-2006 06:26 PM

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?

balinor 10-02-2006 06:31 PM

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.


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

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.