How to remove this underline

Hi Im getting an underline when i hover on images in this gallery how can i remove that? thanks

This is what’s causing it:

#content-main a:hover {
	border-bottom: 1px solid; 
	padding-bottom: 1px;

You could add a more specific rule to override that:

#content-main .ngg-thumbnail a:hover {
	border-bottom: none; 
	padding-bottom: 0;

thanks ralph


You just put the code in CSS

text-decoration: none;

Unfortunately that would not work in this instance. As Ralph pointed out above the issue was that the border-bottom property was set, not text-decoration. :slight_smile: