Remove underline from links

Remove underline from links

by Chris Howard -
Number of replies: 2

Hello everyone,      I'm not sure if this is related to a specific theme or to all themes in general, but I am using the Zebra 2.4.2 theme on Moodle 2.5.  I would like to remove the underline from the links in the blocks, etc.  I have found other forums that discussed this by adding a:hover, a:active { text-decoration: none;} to the custom CSS settings, but so far it hasn't worked.  I've tried to find the css file that would allow me to make the change, and I've tried to change any link styles to have a text-decoration of none without success.  If anyone has a suggestion on how to remove the underline from the links, I would really appreciate it.  Thank you for any help you can give me.

Chris Howard

Average of ratings: -
In reply to Chris Howard

Re: Remove underline from links

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

When you added that to customcss did you also Purge caches or have theme designer mode turned on?

In reply to Richard Oelmann

Re: Remove underline from links

by Chris Howard -

I believe I finally found the correct css code to change.  

#page-border-wrapper a,
#page-border-wrapper a:visited {
text-decoration: none;
}

When I changed this piece of code to none, the underline went away like I wanted it to.  Hopefully that will be the fix that I need.  Thanks for the response.

Chris Howard