Title: Custom Class
Last modified: November 6, 2018

---

# Custom Class

 *  Resolved [dpope0824](https://wordpress.org/support/users/dpope0824/)
 * (@dpope0824)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/custom-class-5/)
 * I need to add a custom class to one of my fancybox’s so it can have a different
   styling than the others on the site when it goes to mobile. Is this something
   that is possible using your plugin? I know with plain fancybox I can use the 
   wrapCSS option.

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

 *  [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/custom-class-5/#post-10853485)
 * Hi, for one fancybox but not the others? No that is not possible, sorry.
 *  Thread Starter [dpope0824](https://wordpress.org/support/users/dpope0824/)
 * (@dpope0824)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/custom-class-5/#post-10853647)
 * Is this not even possible with the pro version?
 * Is this something that you would consider adding? Maybe using something like 
   the name attribute on the link and adding it if that attribute exists when you
   render the fancybox-wrap?
 *  Thread Starter [dpope0824](https://wordpress.org/support/users/dpope0824/)
 * (@dpope0824)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/custom-class-5/#post-10853653)
 * Or maybe even data attributes.
 *  [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/custom-class-5/#post-10853657)
 * It’d be a nice touch, yes. I’ll consider it but do not have time to work on it
   right now, sorry.
 *  Thread Starter [dpope0824](https://wordpress.org/support/users/dpope0824/)
 * (@dpope0824)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/custom-class-5/#post-10853660)
 * No problem just looking forward to the future.
 * And thanks for all the great work you have done already. Makes working with novices
   a lot easier.
 *  [oguido](https://wordpress.org/support/users/oguido/)
 * (@oguido)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/custom-class-5/#post-11223068)
 * One + for this! 😉

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

The topic ‘Custom Class’ is closed to new replies.

 * ![](https://ps.w.org/easy-fancybox/assets/icon-256x256.png?rev=3188201)
 * [Firelight Lightbox](https://wordpress.org/plugins/easy-fancybox/)
 * [Support Threads](https://wordpress.org/support/plugin/easy-fancybox/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-fancybox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-fancybox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-fancybox/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [oguido](https://wordpress.org/support/users/oguido/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/custom-class-5/#post-11223068)
 * Status: resolved