-
AuthorPosts
-
July 26, 2015 at 7:16 pm #341152
I’m using ethos.
How do i set it up so when i hover over a text hyperlink, it underlines the text?
Thanks
July 26, 2015 at 9:05 pm #341215In CSS:
a:hover {
text-decoration:underline;
}July 26, 2015 at 11:27 pm #341311Hello There,
Thanks for writing in!
Yes, that is correct. @dzinepod gave the css that will have an underline when you hover on a link. Please add this code in your customizer, Appearance > Customize > Custom > CSS
a:hover { text-decoration:underline; }
Hope this helps. Kindly let us know.
March 26, 2016 at 9:11 am #853416So I would like to ask how to change this, so that only text gets a underline. Because with the script above my buttons and social icons get an underline as well.
Thanks!
March 26, 2016 at 10:07 am #853441Hi @mhbmartijn,
Please update the previous CSS a bit:
a:hover { text-decoration: underline; } a.x-btn:hover { text-decoration: none; }
Hope it helps π
March 26, 2016 at 3:18 pm #853609Thanks! There is still an underscore under my social icons, any way to fix this?
March 26, 2016 at 7:58 pm #853783Please add the code below in your Appearance > Customize > Custom > CSS.
.x-social-global a:hover { text-decoration: none; }
Hope that helps. π
March 27, 2016 at 10:25 am #854209Worked, thanks!!
Another question about underline. The menu in my footer is not giving an underline. I would like the color to be the same while hovering and give it an underline? Would you please help me with this as well? Thanks so much!
March 27, 2016 at 10:51 am #854229Hi There,
Please add the following CSS:
.x-colophon.bottom .x-nav li a:hover { opacity: 1; text-decoration: underline; }
Hope it helps π
March 27, 2016 at 12:00 pm #854275Like yeah this works for the footer menu, but with this added my former code doesn’t work anymore, no more underline in the rest of the page.
a:hover {
text-decoration: underline;}
a.x-btn:hover {
text-decoration: none;}
.x-social-global a:hover {
text-decoration: none;}.x-colophon.bottom .x-nav li a:hover { opacity: 1;
text-decoration: underline;March 27, 2016 at 1:19 pm #854351Hi there,
Thanks for updating. Your given code is not closed properly. Make sure to close all of your code with curly braces. You can test your CSS from http://csslint.net/
Hope this helps.
Cheers!
March 27, 2016 at 2:57 pm #854405Whooops, newbie mistake, sorry… but yeah everything works the way I want it. Awesome, thanks a million!
March 27, 2016 at 7:23 pm #854558No Problem. Youβre most welcome!
We’re glad we were able to help you out. -
AuthorPosts