Bright blue font in links

Bright blue font in links

Postby EOM on Mon Oct 15, 2018 5:07 am

I cannot seem to be able to control the color of links in a theme, could somebody please advise?

I'm using a responsive theme, with a style sheet created with Themeroller 1.3.2. There is no bright blue in the style as far as I can see. However, the Nethelp output has all links in bright blue. Could somebody tell me where this color comes from?

Also, if I import one of the predefined styles, such as Light into Themeroller, make some changes, download it and create a new style based on it, the link font becomes bright blue.
EOM
Propeller Head
 
Posts: 20
Joined: Wed Oct 10, 2018 9:05 am

Re: Bright blue font in links

Postby SteveS on Mon Oct 15, 2018 2:28 pm

You need to set the a:link property.

See more here: https://www.w3schools.com/html/html_links.asp
Image
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
SteveS
Propellus Maximus
 
Posts: 1975
Joined: Tue Mar 07, 2006 5:06 pm
Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).

Re: Bright blue font in links

Postby EOM on Tue Oct 16, 2018 5:13 am

Hi Steve,

Thank you. I what file should it be set?

I've searched the theme and the style sheet files for a:link, but I cannot find it.

Eeva
EOM
Propeller Head
 
Posts: 20
Joined: Wed Oct 10, 2018 9:05 am

Re: Bright blue font in links

Postby AlexFox on Wed Oct 17, 2018 2:27 am

EOM, You're probably seeing a default value from Flare's default styles or from the browser user agent stylesheet. Just create the entry in your project CSS:

Code: Select all
a:link{color:red}


Obviously change red to your desired colour/hex/rgb value.
AlexFox
Sr. Propeller Head
 
Posts: 127
Joined: Thu Oct 19, 2017 1:56 am

Re: Bright blue font in links

Postby SKamprowski on Wed Oct 17, 2018 3:02 am

Hi,
from the beginning of this thread I assume that it belongs to DocToHelp:
So, here is my reply for DocToHelp:
1. You may need to create your own Responsive theme
2. Then you can add the appropriate definition in its user.css file (see Steves Reply).
Actually, I never tried to change link style with ThemeRoller.
Kind regards,
Sabine Kamprowski
DocToHelp MVP
SKamprowski
Sr. Propeller Head
 
Posts: 251
Joined: Fri Feb 13, 2015 8:25 am
Location: Germany

Re: Bright blue font in links

Postby EOM on Sun Nov 04, 2018 4:46 am

Thank you all. Specifying a:link in user.css fixed this issue.
EOM
Propeller Head
 
Posts: 20
Joined: Wed Oct 10, 2018 9:05 am


Return to Doc-To-Help General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests