| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Category Box rollover | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello,
How do I edit my category menus so that each product choice has its own box like in this link: http://www.audilo.com/ As you can see, each product in the "Category" menu has a box surrounding it. I know how to get it to highlight, just don't know how to create the individual boxes or lines seperating the products. Thanks, Ryan |
|||||||
#2
|
|||||||
|
|||||||
![]() Just add a border to the bottom of each category by editing the CategoriesList class. You will also need to change the <font style="CategoriesList"> tag to <div class="CategoriesList"> in customer/categories.tpl.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Great, that worked. Now what I need is to have everything within that border to change background color upon rollover. Currently, only the area directly behind the text changes color. I need it so that even the dead space to the left and right of the text also changes color.
|
|||||||
#4
|
|||||||
|
|||||||
![]() Regarding the category menu on www.audilo.com
For each category within the category menu, you will notice they are each within an individual box. Balinor was able to help me figure out how to do that (thanks Balinor!) What I can't figure out is how he gets the entire box to change color upon rollover. I can get the background behind the text to change color, but can't figure out how to get the dead space to the left and right of the text to highlight like this site. Thanks in advance for any help. I'm racking my brain trying to figure it out! |
|||||||
#5
|
|||||||
|
|||||||
![]() No need for a second thread on this topic. Add this to the link style you have for the menu items:
display: block; That should color the whole box in.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#6
|
|||||||
|
|||||||
![]() You can also try this technique:
your table cell will start something like: Code:
and the corresponding css might look like: Code:
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
|
|||
X-Cart forums © 2001-2020
|