Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #891240
    Buttermelts
    Participant

    Hello,

    I was wondering how I would go about removing the hover effect from an image link. I’ve set its class to img_link and used the following in custom CSS:

    a.img_link:hover {
    opacity:1;
    }

    This doesn’t appear to have any effect. Can you please advise? Thanks

    #891245
    Buttermelts
    Participant
    This reply has been marked as private.
    #891746
    Zeshan
    Member

    Hi there @Buttermelts,

    Thanks for writing in!

    To remove the hover effect from the images, please try this CSS code instead:

    a.img_link:hover,
    a.x-img:not(.x-img-thumbnail):hover {
      opacity: 1;
    }
    

    Thank you!

    #892920
    Buttermelts
    Participant

    Works perfectly, thank you!

    #893451
    Paul R
    Moderator

    You’re welcome! 🙂

  • <script> jQuery(function($){ $("#no-reply-891240 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>