Home Forums Theme support Prestige Theme – Turn off rollover on an image

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  7Theme Support 7 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • I am placing a logo image on my homepage. Is there a way to turn off the rollover for just one image, so that it does not go grey at all. http://myperfectproperties.com/ Thank you!

    Hi,

    yes, it is possible, you can add this simple css code at the end of your style.css file to remove the effect:

    #brand img {
        filter: url(data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter i…=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale);
        -webkit-filter: grayscale(0%);
    }

    This should remove the effect.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.