Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Product image underline vanishes on mouse over...

Product image underline vanishes on mouse over...

Locked

Views: 1,280

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
4 Jun 2010, 2:51 PM
#1
dgent avatar

dgent

Totally Zenned

Join Date:
Nov 2009
Location:
UK
Posts:
1,117
Plugin Contributions:
0

Product image underline vanishes on mouse over...

On the product description, it says 'Enlarge' under the product image, and the text and image is underlined, and when you hover over it, it vanishes.

Now Ive looked everywhere in the stylesheet to find this as I want to remove it, or is this in one of the tpl files?

Thanks

4 Jun 2010, 3:01 PM
#2
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Product image underline vanishes on mouse over...

It will be in your stylesheet. Post a link to your site........without it, we can't help you look.

4 Jun 2010, 3:15 PM
#3
dgent avatar

dgent

Totally Zenned

Join Date:
Nov 2009
Location:
UK
Posts:
1,117
Plugin Contributions:
0

Re: Product image underline vanishes on mouse over...

I can find it in the stylesheet, its and a:hover command, but it just it turns off ALL of any underlined links in the centre column of the site. I just want to turn it off for that image.

4 Jun 2010, 3:16 PM
#4
dgent avatar

dgent

Totally Zenned

Join Date:
Nov 2009
Location:
UK
Posts:
1,117
Plugin Contributions:
0

Re: Product image underline vanishes on mouse over...

4 Jun 2010, 3:37 PM
#5
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Product image underline vanishes on mouse over...

dgent:

I can find it in the stylesheet, its and a:hover command, but it just it turns off ALL of any underlined links in the centre column of the site. I just want to turn it off for that image.

O.k. Try adding this to your stylesheet:

#productMainImage a {
  text-decoration: underline;
  background: transparent;
}
```That should do the trick. Added the transparent background to keep it from "hiding" your other line above the link.
4 Jun 2010, 3:43 PM
#6
dgent avatar

dgent

Totally Zenned

Join Date:
Nov 2009
Location:
UK
Posts:
1,117
Plugin Contributions:
0

Re: Product image underline vanishes on mouse over...

Yes, worked perfectly. Thanks for your time.

4 Jun 2010, 3:56 PM
#7
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Product image underline vanishes on mouse over...

Not a problem.