Title: Image Hover Over
Last modified: August 21, 2016

---

# Image Hover Over

 *  Resolved [onggie](https://wordpress.org/support/users/onggie/)
 * (@onggie)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/image-hover-over/)
 * Hi,
 * Sorry for my complete ignorance (non-developer here).
 * I was wondering where I can modify how the image fades in when hovering over 
   an image. I am assuming this is a jquery thing? I want to try reverse the fade,
   so fade out when hover over the image. I also want to try disable it completely.
 * Assuming it has something to do with
 * `jQuery( 'a' ).has( 'img' ).addClass( 'img-hyperlink' );`

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

 *  Thread Starter [onggie](https://wordpress.org/support/users/onggie/)
 * (@onggie)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/image-hover-over/#post-5044545)
 * Well it always seems the case, as soon as I posted this. I found this bit of 
   code. Still trying to work out how to do the fade in reverse.
 *     ```
       a img {
       		opacity:            0.85;
       		-webkit-transition: all 0.5s ease-in-out;
       		   -moz-transition: all 0.5s ease-in-out;
       		      -o-transition:  all 0.5s ease-in-out;
       		        transition: all 0.5s ease-in-out;
       	}
   
       		a:hover img { opacity: 1; }
       ```
   
 *  Thread Starter [onggie](https://wordpress.org/support/users/onggie/)
 * (@onggie)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/image-hover-over/#post-5044546)
 * Ok really should have just played around with it a tiny bit more before posting.
 *     ```
       a img {
       		opacity:            1;
       		-webkit-transition: all 0.5s ease-in-out;
       		   -moz-transition: all 0.5s ease-in-out;
       		      -o-transition:  all 0.5s ease-in-out;
       		        transition: all 0.5s ease-in-out;
       	}
   
       		a:hover img { opacity: .85; }
       ```
   
 * Changing it to this does the reverse. Thanks for the great theme!

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

The topic ‘Image Hover Over’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/stargazer/4.0.0/screenshot.png)
 * Stargazer
 * [Support Threads](https://wordpress.org/support/theme/stargazer/)
 * [Active Topics](https://wordpress.org/support/theme/stargazer/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/stargazer/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/stargazer/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [onggie](https://wordpress.org/support/users/onggie/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/image-hover-over/#post-5044546)
 * Status: resolved