If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / How to Change color of links on main page

How to Change color of links on main page

Locked

Started by wootoot1212 on 23 May 2008, 8:46 PM · Views: 4,200

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
23 May 2008, 8:46 PM
#1
wootoot1212 avatar

wootoot1212

New Zenner

Join Date:
May 2008
Posts:
10
Plugin Contributions:
0

Post #1 by wootoot1212

Hello,
I am sorry to post such a trivial question but I cannot for the life of me figure out how to change the color of the links in my "new prodcut" or "information" sideboxes. Any help would be appreciated since I have been digging around the web for two days tring to find the answer.
I have my hover link color altered but cant get the link default color of blue to change.

Thanks...:(

23 May 2008, 9:04 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

A link to your site and if you want all links altered(global) or just certian ones

Zen-Venom Get Bitten

23 May 2008, 9:22 PM
#3
wootoot1212 avatar

wootoot1212

New Zenner

Join Date:
May 2008
Posts:
10
Plugin Contributions:
0

Post #3 by wootoot1212

Thanks Kobra.
http://www.audioman71.net/
on the left, the links within the "new products" and also "information" boxes...

appreciate the help

23 May 2008, 10:02 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #4 by kobra

Add these to your stylesheet repeat for the a:hover etc and adjust to your desired colors

#whatsnew a:link {
        color: #000000;
        }
#information a:link {
        color: #000000;
        }

Zen-Venom Get Bitten

23 May 2008, 10:20 PM
#5
wootoot1212 avatar

wootoot1212

New Zenner

Join Date:
May 2008
Posts:
10
Plugin Contributions:
0

Post #5 by wootoot1212

Thanks for the help Kobra :)
Have a reral nice holiday and if I can return the favor just ask

24 May 2008, 1:27 PM
#6
hcd888 avatar

hcd888

Zen Follower

Join Date:
May 2008
Posts:
348
Plugin Contributions:
0

Post #6 by hcd888

Hi, iam having the same problem the links under information is blue, tried pasting

#whatsnew a:link {
color: #000000;
}
#information a:link {
color: #000000;
}

Doesnt seem to work. Can i just paste it anywhere on my style sheet?

24 May 2008, 6:40 PM
#7
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
1

Post #7 by steven300

Using Web Developer for FF, I added the code to your stylesheet and it worked fine. This is where I put it:

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

#whatsnew a:link {
color: #000000;
}

#information a:link {
color: #000000;
}

a:active {
	color: #0000FF;
	}
24 May 2008, 9:48 PM
#8
hcd888 avatar

hcd888

Zen Follower

Join Date:
May 2008
Posts:
348
Plugin Contributions:
0

Post #8 by hcd888

YAY It worked!!! :clap: Thanx for looking after me :D

But noticed the "Shopping cart [more]" and the "New products [more]" header in the left sidebox's turn yellow when i hover over them.

Is it also possible to make the links under Categories turn red when i hoover over them and turn blue when activated just like under the information links?

24 May 2008, 10:51 PM
#10
hcd888 avatar

hcd888

Zen Follower

Join Date:
May 2008
Posts:
348
Plugin Contributions:
0

Post #10 by hcd888

:bigups:Hi Steven300 thanx for gettting back to me :D

it seem to have sorted out the yellow text hover in the sidebox.

But the links under categories i changed to:

#shoppingcartHeading a:hover {
color: #FF0000;
}

#whatsnewHeading a:hover {
color: #FF0000;
}

#categories a:hover {
color: #ff0000;
}

#categories a:active {
color: #0000ff;

:clap: U DA MAN STEVEN300!!! :clap:

19 Jun 2008, 8:28 PM
#12
thebigkrumm avatar

thebigkrumm

New Zenner

Join Date:
Jun 2008
Posts:
13
Plugin Contributions:
0

Post #12 by thebigkrumm

Very awesome, guys -- after hours of searching I finally learned something about coding :)

I was having sooo much trouble figuring out how to change all my link colors simultaneously, and after reading this post, got lucky by adding simple code to my css:

a:link {
color: #b3f0ff;
}

I know I'm a noob, but I'm pretty impressed!

God bless open source.