Welcome to Geeklog Monday, July 22 2019 @ 10:53 am EDT

Geeklog Forums

Help with text color in static page


Status: offline

Rick78

Forum User
Regular Poster
Registered: 20/10/03
Posts: 98
Hello,
I have a static page used for my center main front page. No matter what I do, I cannot get the text color to change on text I am using for a link. I have tried to change the color with COLOR="#861303" in the line. It still keeps the CSS main text color.
I have tried to create a new header called H4 in my style sheet. The size is obeyed, but not the color.

How can I change the color of text on one hyperlink within a static page?


Thanks,
Rick

Status: offline

Rick78

Forum User
Regular Poster
Registered: 20/10/03
Posts: 98
More info.

I can adjust the color of normal text.

It does not work when I am using the text in a hyperlink.
Is there another way to change hyperlink text only for a specific link?

Thanks,
Rick

Status: offline

1000ideen

Forum User
Full Member
Registered: 04/08/03
Posts: 1294
If it is a specific link you may use an ID instead of a class or !important
http://www.tizag.com/cssT/cssid.php

Status: offline

geiss

Forum User
Full Member
Registered: 10/02/04
Posts: 176
Location:Boise, Idaho
Can you provide a link to your site, and I'll take a look.

Thx!

Eric
Synergy - Stability - Style --- Visit us at glfusion.org

Status: offline

Rick78

Forum User
Regular Poster
Registered: 20/10/03
Posts: 98
Hi again,

Thanks for the replies.

My site is http://www.grevepigerne.dk
This is a gymnastic site for a team in Denmark.

I think maybe the ID suggestion is a way to go. I only know a small amount of HTML and not much about stylesheets.
I guess I was hoping I could override the default link colors, if I placed them on the line itself. It did not override, so I removed them.
I was trying to make links on the text below the main picture, where we have presentation videos.
The normal link color is the same as my text. So the video links did not stand out.
My work around is to color the text and create a 'click here' link next to it.

Thanks a lot.

/Rick

Status: offline

1000ideen

Forum User
Full Member
Registered: 04/08/03
Posts: 1294
Rick if you know German you may look at this reference: http://de.selfhtml.org/css/index.htm

Status: offline

geiss

Forum User
Full Member
Registered: 10/02/04
Posts: 176
Location:Boise, Idaho
If you wrap just the link text in your color it should work, like this:

PHP Formatted Code
<a href="http://www.grevepigerne.dk/staticpages/index.php?page=20080204141417362"><font color="#861303">Klik Her !</font></a>


Thx!

Eric
Synergy - Stability - Style --- Visit us at glfusion.org

Status: offline

Rick78

Forum User
Regular Poster
Registered: 20/10/03
Posts: 98
Thanks!
It worked when it was wrapped like the example above.

I had the color in front of the href, and that did not work.


Thanks again!

Rick

All times are EDT. The time is now 10:53 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content