inherit
46546
0
Jul 30, 2021 9:52:30 GMT -8
darkaphasia
64
June 2005
darkaphasia
|
Post by darkaphasia on Apr 6, 2013 14:41:16 GMT -8
I just upgraded to V5 and while I'm getting used to it, I'd like to know how I can get an underline for links when I hover over them?
|
|
inherit
(??_?)
181912
RIP RIP RIP Almost RIP - Why does this social section still exist?
0
1
Jul 6, 2015 20:35:17 GMT -8
CheatAreZee
56,804
March 2005
zyvoloski
Ricky's Mini-Profile
|
Post by CheatAreZee on Apr 6, 2013 15:17:27 GMT -8
Hi darkaphasia, Visit your admin panel, then navigate to Themes > Advanced Styles & CSS. On the next page, click the "Style Sheet" tab and around line 106 look for the following: @link_hover_decoration: @link_decoration; Change this to: @link_hover_decoration: underline; Save the changes, and from that point forward links should be underlined when you mouse over them
|
|
inherit
192840
0
Jan 13, 2014 9:55:53 GMT -8
musicadmin
12
April 2013
musicadmin
|
Post by musicadmin on Apr 16, 2013 8:19:42 GMT -8
What if I want to change the default appearance of links ONLY IN POSTS to blue and underlined?
Right now I've managed to make all links underlined, but this applies to links everywhere, not only in the text of posts.
|
|
#eb7100
33409
0
1
Nov 13, 2024 16:56:46 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Apr 16, 2013 9:24:43 GMT -8
musicadmin, you can add this to the bottom of Themes > Advanced Styles & CSS > Style Sheet to underline links only in posts and PMs.
|
|
inherit
192840
0
Jan 13, 2014 9:55:53 GMT -8
musicadmin
12
April 2013
musicadmin
|
Post by musicadmin on Apr 16, 2013 10:18:36 GMT -8
Great! I also figured out how to make then blue using:
.posts .post .message a, .messages .item .message a { text-decoration: underline; color: #0000FF;}
Now, how can I change the rollover color and previously clicked link color?
|
|
#eb7100
33409
0
1
Nov 13, 2024 16:56:46 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Apr 16, 2013 10:24:33 GMT -8
A simply modification to the original CSS: adding the :hover pseudo-class as a new CSS declaration.
|
|
inherit
192840
0
Jan 13, 2014 9:55:53 GMT -8
musicadmin
12
April 2013
musicadmin
|
Post by musicadmin on Apr 16, 2013 11:56:39 GMT -8
Just in case someone else is curious about this stuff, here's what I ended up with.
.posts .post .message a, .messages .item .message a { text-decoration: underline; color: #000080;}
.posts .post .message a:hover, .messages .item .message a:hover { text-decoration: underline; color: #0000FF; }
.posts .post .message a:visited, .messages .item .message a:visited { text-decoration: underline; color: #800080; }
.posts .post .message a:visited:hover, .messages .item .message a:visited:hover { text-decoration: underline; color: #0000FF; } Using this, in posts/PMs links appear navy and underlined, visited links are underlined and purple, and both unvisited and visited links turn blue when hovered over.
I also applied what the original poster asked about, so links everywhere else but posts/PMs appear as normal text, but are underline when hovered over.
Thanks for the help!
|
|
inherit
126477
0
Apr 21, 2023 15:18:52 GMT -8
Shrike
Re-appeared briefly after 6 years only to no doubt disappear again.
1,569
June 2008
shrike
|
Post by Shrike on Apr 16, 2013 12:06:48 GMT -8
Just in case someone else is curious about this stuff, here's what I ended up with. .posts .post .message a, .messages .item .message a { text-decoration: underline; color: #000080;}
.posts .post .message a:hover, .messages .item .message a:hover { text-decoration: underline; color: #0000FF; }
.posts .post .message a:visited, .messages .item .message a:visited { text-decoration: underline; color: #800080; }
.posts .post .message a:visited:hover, .messages .item .message a:visited:hover { text-decoration: underline; color: #0000FF; } Using this, in posts/PMs links appear navy and underlined, visited links are underlined and purple, and both unvisited and visited links turn blue when hovered over. I also applied what the original poster asked about, so links everywhere else but posts/PMs appear as normal text, but are underline when hovered over.
Thanks for the help! One quick hint: if you move the a:hover block of code to be after the a:visited one, you can remove the redundant a:visited:hover as :hover will take precedence when they are in that order.
|
|