Title: CSS Cursor Problem
Last modified: August 30, 2016

---

# CSS Cursor Problem

 *  [katart17](https://wordpress.org/support/users/katart17/)
 * (@katart17)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/css-cursor-problem/)
 * Would it better to target the `<a>` element instead of the `<img>` element for
   the cursor styling?
 * This is the current code:
 *     ```
       .iwmp-single, .iwmp-gallery img {
         cursor: pointer;
         cursor: -webkit-zoom-in;
         cursor: -moz-zoom-in;
         cursor: zoom-in;
       }
       ```
   
 * I have a gallery that doesn’t need to zoom-in but I still get the Zoom Icon when
   I hover over the image.
 * What do you think?
 * [https://wordpress.org/plugins/iw-magnific-popup/](https://wordpress.org/plugins/iw-magnific-popup/)

The topic ‘CSS Cursor Problem’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/iw-magnific-popup_df5e68.svg)
 * [IW Magnific Popup](https://wordpress.org/plugins/iw-magnific-popup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/iw-magnific-popup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/iw-magnific-popup/)
 * [Active Topics](https://wordpress.org/support/plugin/iw-magnific-popup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/iw-magnific-popup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/iw-magnific-popup/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [gallery](https://wordpress.org/support/topic-tag/gallery/)

 * 0 replies
 * 1 participant
 * Last reply from: [katart17](https://wordpress.org/support/users/katart17/)
 * Last activity: [10 years, 12 months ago](https://wordpress.org/support/topic/css-cursor-problem/)
 * Status: not resolved