Tagged: x
-
AuthorPosts
-
September 22, 2016 at 1:22 pm #1186778
mariaParticipantHi,
I would like to add a hover underline to all pages (excluding the navbar and topbar. I’ve trieda.site.hover_effect:hover{
opacity:0.85;
}
and
a.site:hover {
text-decoration: underline !important;
}Neither worked.
My site is http://ecbiz206.inmotionhosting.com/~hnporg5
Thanks
September 22, 2016 at 1:40 pm #1186814
RahulModeratorHey There,
Thanks for writing in!
To add an underline to all of your text links (upon hover) that are not menu related, please add the following css code in the customizer, Appearance > Customize > Custom > CSS
.site a:hover { text-decoration:underline; } .site .menu-item a:hover { text-decoration: none; }Hope this helps!
Kindly let us know how it goes!
September 27, 2016 at 5:53 pm #1193064
mariaParticipantHi,
Thanks, that worked.How do I changed the color and opacity of the underline? The following didn’t work for me.
.site a:hover {
text-decoration:underline;
-moz-text-decoration-color: rgba(255, 158, 0, 0.6); /* Code for Firefox */
text-decoration-color: rgba(255, 158, 0, 0.6);
}September 28, 2016 at 1:38 am #1193466
Paul RModeratorHi,
You can try using border instead.
.site a:hover { text-decoration:none; border-bottom: 1px solid rgba(255, 158, 0, 0.6); }Hope that helps.
September 28, 2016 at 11:50 am #1194215
mariaParticipantThat works. Thanks
September 28, 2016 at 12:46 pm #1194322
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1186778 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
