Forums / Templates, Stylesheets, Page Layout / Cant find needed change in stylesheet

Cant find needed change in stylesheet

Locked

Views: 1,211

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
21 Jul 2007, 6:29 AM
#1
shawnz28 avatar

shawnz28

New Zenner

Join Date:
Apr 2005
Posts:
75
Plugin Contributions:
0

Cant find needed change in stylesheet

I decided I wanted my links underlined as I wanted them to stand out a bit in the product descriptions. When I do this it unlines things like category names in the center column which is fine with me. Only thing I dont like is it is underlining category pictures and product pictures as well as text. Also what has me stunped is pictures in the "new products" below the main categories are not underlined and I cannot find the difference in my stylesheet.... maybe it is just late but i have given this an honest try.

site https://www.saltycritter.com
example page - http://saltycritter.com/store/index.php?main_page=index&cPath=5_134

Here is a bit of the stylesheet.... i can post more if needed

a img {
border: none; }

a:link, #navEZPagesTOC ul li a {
color: #000080;
text-decoration:underline;
}

a:visited {
color: #000066;
text-decoration: underline;
}

a:hover, #navEZPagesTOC ul li a:hover, #navMain ul li a:hover, #navSupp ul li a:hover, #navCatTabs ul li a:hover {
color: #FF0000;
}

#navBreadCrumb a:hover, #navBreadCrumb a, #navEZPagesTop a:hover, #navEZPagesTop a{
color: #d0cc25;
}

a:active {
color: #000099;
}

21 Jul 2007, 6:34 AM
#2
shawnz28 avatar

shawnz28

New Zenner

Join Date:
Apr 2005
Posts:
75
Plugin Contributions:
0

Re: Cant find needed change in stylesheet

Here is the whole CCS

21 Jul 2007, 3:22 PM
#3
brandtim avatar

brandtim

Zen Follower

Join Date:
Apr 2006
Posts:
250
Plugin Contributions:
0

Re: Cant find needed change in stylesheet

Hi shawnz28,

Your example page doesn't have product descriptions, so I'm not 100% sure that I understand what you're trying to accomplish.

If you want to underline just link in products descriptions, for example, on this page:

http://saltycritter.com/store/index.php?main_page=product_info&cPath=5_134_135&products_id=319

use this css:

#productDescription a {
text-decoration: underline;
}

The prepended #productDescription means that only links (a) that are within a div with the id of productDescription get the underline. When you just use the 'a' with out the div id, all 'a' elements get the underline.

BrandTim

PS - it's not necessary to provide your css in your post. Anyone can look at your site and see your css (that's how browsers work, after all). :)

21 Jul 2007, 3:28 PM
#4
shawnz28 avatar

shawnz28

New Zenner

Join Date:
Apr 2005
Posts:
75
Plugin Contributions:
0

Re: Cant find needed change in stylesheet

Thanks for the reply. Its funny i woke up this morning and I thought I could do kinda what you said to.... limiting it to certain parts, just couldnt seem to remember how last night.