Tagged: x
-
AuthorPosts
-
December 30, 2016 at 5:20 am #1309732
jensjakobsenParticipantHi
I need to change the layout of links of the body text area. Basically I need the layout to look like match “normal web standard” (blue text color, underlined, red on hover, and purple once clicked) , so that people actually identify the presence of links in a text.
Please take a look at http://kvikkastrup.net.virker.nu/svoemning-2/ – there is a link in the second paragraph, the final word “her”.
But when looking on the text, it’s not clear that there is a link.
December 30, 2016 at 6:08 am #1309761
Paul RModeratorHi,
You can add this under Custom > Edit Global CSS in the Customizer.
body a { color:#0000FF;text-decoration:underline;} body a:visited {color:#800080;} body a:active,body a:hover { color:#FF0000;}Hope that helps.
January 3, 2017 at 5:44 am #1313976
jensjakobsenParticipantIt worked ‘a little too good’ – please take a look at http://kvikkastrup.net.virker.nu as this CCS also affects the widget area (TOC on the right side). Can this be excluded?
January 3, 2017 at 6:21 am #1314018
ChristianModeratorPlease change
bodyto.x-main. Remember to include the.Thanks.
January 3, 2017 at 6:37 am #1314023
jensjakobsenParticipantWorked like a charm! Thanks!
January 3, 2017 at 7:03 am #1314040
Paul RModeratorYou’re welcome! 🙂
January 3, 2017 at 8:33 am #1314127
jensjakobsenParticipantOps! Just saw that this neat trick could help me in the footer area as well – sorry for not mentioning it earlier!
How can I make sure that the above applies to my links in the footer? I need links general to be visible unless they are in my TOC/sidebar area.
January 3, 2017 at 9:13 am #1314155
JoaoModeratorHI There,
Update the provided code to :
.x-colophon.top a, body a { color:#0000FF;text-decoration:underline;} .x-colophon.top a:hover, body a:visited {color:#800080;} .x-colophon.top a:active,.x-colophon.top a:hover, body a:active,body a:hover { color:#FF0000;}Hope it helps
Joao
January 3, 2017 at 11:35 am #1314425
jensjakobsenParticipantHi again – this works ‘a little too well again’:
– Sidebars and headers should have X-theme layout
– Text/main-area and footers should have default web layout (underlined links etc.)Please take a look at: http://kvikkastrup.net.virker.nu/
January 3, 2017 at 10:41 pm #1315254
FriechModeratorHi There,
The custom CSS code Paul’s provide above should do the trick. Lets just tweak it a little bit.
.x-main a, footer.x-colophon a { color:#0000FF;text-decoration:underline;} .x-main a:visited, footer.x-colophon a:visited {color:#800080;} .x-main a:active, .x-main a:hover, footer.x-colophon a:hover { color:#FF0000;}Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1309732 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
