Jump to content

Grey Shadow Rollover on product grid image


Recommended Posts

Hi,

Unlike most it seems, I don't like the grey rollover block (add cart, compare, view buttons) which covers the individual products in a category grid when you mouse over (default theme).

Is there any way of removing or diminishing the grey (transparent would be great)?

Cheers

AC 

Link to comment
Share on other sites

I can't see what file is this code in, because you have CCC turned on but it's probably in global.css or product_list.css

So find this code:

 

#product_list .poverlay {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.7);
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    visibility: hidden;
    width: 100%;
    z-index: 2;
}

Change your background. First 3 numbers after rgba are red green blue color codes and last one is opacity.  If you want it transparent just replace 0.7 with 0.

 

Then you have another style for view button bg:

#product_list li .viewbutton {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5);
    bottom: 0;
    display: block;
    left: 0;
    padding-bottom: 10px;
    padding-top: 10px;
    position: absolute;
    width: 100%;
}

Change background if you want to.

Link to comment
Share on other sites

×
×
  • Create New...