Home › Forums › Support › Dotted Underline Links This topic has 6 replies, 3 voices, and was last updated 8 years, 8 months ago by Adrian Cojocariu. Viewing 7 posts - 1 through 7 (of 7 total) Author Posts August 8, 2015 at 3:07 am #127516 Oleg Hello and thanks for the help! How to have a dotted underline links? August 8, 2015 at 5:21 am #127537 Adrian Cojocariu Install Simple Custom CSS Plugin Under Appearance you will see CSS. Insert this code after the comment. a, a:visited, a:active { text-decoration: none; border-bottom: 1px dotted; } a:hover { text-decoration: underline; border: none; } August 8, 2015 at 5:38 am #127538 Adrian Cojocariu They are working on this it seems, but it ain’t working for me. https://css-tricks.com/almanac/properties/t/text-decoration/ If you want the underline not to be higher than the border, go for : a, a:visited, a:active { text-decoration: none; border-bottom: 1px dotted; } a:hover { text-decoration: none; border: 1px solid; } August 8, 2015 at 5:47 am #127543 Oleg Excellent! This is what I wanted! August 8, 2015 at 5:52 am #127548 Oleg Another question. How to make a dotted underlined not all links, and only a few? August 8, 2015 at 9:05 am #127582 TomLead Developer Lead Developer You would have to give those links a class, like so: <a class="dotted" href="http://generatepress.com">GeneratePress</a> Then your CSS would be: a.dotted, a.dotted:visited, a.dotted:active { text-decoration: none; border-bottom: 1px dotted; } a.dotted:hover { text-decoration: none; border: 1px solid; } August 9, 2015 at 1:16 am #127768 Adrian Cojocariu Yes, that is for links inside a page, where you can specify a class. You have a visual editor, and the text editor, you can specify a class in the text editor. Author Posts Viewing 7 posts - 1 through 7 (of 7 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In