| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Vertical menu link backgrounds... | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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. |
|||||||
#2
|
|||||||
|
|||||||
![]() 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 |
|||||||
#3
|
|||||||
|
|||||||
![]() 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. |
|||||||
#4
|
|||||||
|
|||||||
![]() You can change permissions via FTP or via your Cpanel
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() 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. |
|||||||
#6
|
|||||||
|
|||||||
![]() 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 |
|||||||
|
|||
X-Cart forums © 2001-2020
|