This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Pages: 1 - Last Post: 1 Mar 21, 10:48 Last Post By: Moxa33
Moxa33

Posts: 9
Registered: 5-May-2012
Hypertext link with mouse over : how to change the font color
Posted: 19 Feb 21, 20:02
 
  Click to reply to this thread Reply
Hello.

I wrote these lines in CSS :

.header .head .page-description a {color:#007fff; target:_blank;}
.header .head .page-description a:hover {color:#cccc99;}

And the syntax of my hypertext links is :

<a href="LINK" target="_blank"> TEXT</a>


With old version of photoblogger, it works fine.
With the current version, the link is white and turns gray (these are not the expected colors)

I'm looking for a solution for blue link that turn yellow on mouseover.

Thank's a lot
Best regards from Bordeaux (France)
Alain

Edited by: Moxa33 on 19-Feb-2021 20:04
Laza

Posts: 2,859
Registered: 6-Sep-2005
Re: Hypertext link with mouse over : how to change the font color
Posted: 20 Feb 21, 10:29   in response to: Moxa33 in response to: Moxa33
 
  Click to reply to this thread Reply
Use "description" instead of "page-description" - I don't know when and why it has changed. (Perhaps this came from another skin?)
.header .head .description a {color:#007fff;}
.header .head .description a:hover {color:#cccc99;}


target: blank; is not allowed in CSS, only in the html code.

By the way using right-click -> Inspect element is the friend of those who want to tweak the CSS, see attachment!

Edited by: Laza on 20-Feb-2021 10:29
Moxa33

Posts: 9
Registered: 5-May-2012
Re: Hypertext link with mouse over : how to change the font color
Posted: 1 Mar 21, 10:48   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
I come back from a week of internship and I thank you for your intervention.
The photoblogger version is not in question, my apologies !
Thank's so much et have a nice day ;)
Everything is fine and i'm happy !
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums