Jump to content

[SOLVED] Product list rollovers


Recommended Posts

In global.css, change this:

ul#product_list li {
   background: #e5e7eb url('../img/block_category_item_bg.jpg') repeat-x;
   border: solid 1px #d0d3d8;
   padding: 6px;
   height:130px;
   clear:both;
   margin-bottom:0.3em;
}


to this:

ul#product_list li {
   background: #e5e7eb; /*  url('../img/block_category_item_bg.jpg') repeat-x; */
   border: solid 1px #d0d3d8;
   padding: 6px;
   height:130px;
   clear:both;
   margin-bottom:0.3em;
}



In product-list.tpl, change this:



to this:

   on mouseover="this.style. backgroundColor ='#DBDEE5'" 
   on mouseout="this.style. backgroundColor ='#E5E7EB'"> 


Note, remove the spaces in the onmouseover, onmouseout lines, this forum won't accept ANY javascript code.
Of course, use the colors that you are currently using in your theme for the background and rollover colors ;-)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...