Title: Target certain css class?
Last modified: September 1, 2016

---

# Target certain css class?

 *  Resolved [Alfo](https://wordpress.org/support/users/alfonsberger/)
 * (@alfonsberger)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/target-certain-css-class/)
 * Hi,
 * love the plugin and how you can customize it, but is there a way to target a 
   certain css class. My theme has some custom post with gallerie the lightbox plugin
   does not work with. That said my theme adds “cb-lightbox” to all photos and I
   was wondering if the plugin can also target a certain css-class?
 * Thanks for your help
    Alfons
 * [https://wordpress.org/plugins/simple-lightbox/](https://wordpress.org/plugins/simple-lightbox/)

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

 *  Plugin Author [Archetyped](https://wordpress.org/support/users/archetyped/)
 * (@archetyped)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/target-certain-css-class/#post-7599179)
 * Hi, SLB automatically activates any valid link in a post’s content (including
   custom post types) without depending on specific CSS class names.
 * If you can provide a link to a page that exhibits the issue you are experiencing,
   I would be glad to take a closer look.
 *  Thread Starter [Alfo](https://wordpress.org/support/users/alfonsberger/)
 * (@alfonsberger)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/target-certain-css-class/#post-7599208)
 * Thanks Archetyped! Is there a contact form/email I can send the link to?
 *  Plugin Author [Archetyped](https://wordpress.org/support/users/archetyped/)
 * (@archetyped)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/target-certain-css-class/#post-7599324)
 * Hi, you can add a comment here with the link, or you can create a ticket at [SLB’s official support forum](https://github.com/archetyped/simple-lightbox/wiki/Feedback-&-Support)
   with the link.
 *  Plugin Author [Archetyped](https://wordpress.org/support/users/archetyped/)
 * (@archetyped)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/target-certain-css-class/#post-7599363)
 * This ticket has been closed due to inactivity. If you are still experiencing 
   an issue with SLB, please provide the requested details and I would be glad to
   reopen the ticket and take a look.
 * Thanks.
 *  Thread Starter [Alfo](https://wordpress.org/support/users/alfonsberger/)
 * (@alfonsberger)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/target-certain-css-class/#post-7599364)
 * Hi, I’m still interested to get this issue fixed, but can not publish the URL
   openly. I followed the SLB support forum link you provided but only found GitHub
   logins – which then would be a public issues/url again as far as I understand.
   Where can I send you a private message?
 * Thanks for your help
 *  Plugin Author [Archetyped](https://wordpress.org/support/users/archetyped/)
 * (@archetyped)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/target-certain-css-class/#post-7599368)
 * Hi, I would love to offer private support, but due to availability, only public
   support is available so that solutions shared in these forums can help others
   who may encounter a similar issue in the future.
 * If you don’t want your link to be posted forever, you can edit it out after posting
   it, or you can use a service like [ShoutKey](http://shoutkey.com/) or [URLGone](http://urlgone.com/)
   to temporarily share a URL that then expires so that it is no longer accessible.
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [9 years, 8 months ago](https://wordpress.org/support/topic/target-certain-css-class/#post-7599369)
 * Side note:
 * > If you don’t want your link to be posted forever, you can edit it out after
   > posting it, or you can use a service like ShoutKey or URLGone to temporarily
   > share a URL that then expires so that it is no longer accessible.
 * Short URLs are often found and expanded. If you don’t want your site URL to show
   up then find another way please.
 *  Plugin Author [Archetyped](https://wordpress.org/support/users/archetyped/)
 * (@archetyped)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/target-certain-css-class/#post-7599370)
 * Hi Jan, standard shortened URLs (e.g. Bitly, etc.) are easily expanded to their
   full URL, but expiring URL services like the ones I mentioned claim to completely
   remove the URL once it has expired.
 * However, I’m no expert in expiring URL shorteners, so if you could provide some
   links with more details about the original links being found after expiration,
   I’d love to learn up!
 * Thanks.

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

The topic ‘Target certain css class?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-lightbox.svg)
 * [Simple Lightbox](https://wordpress.org/plugins/simple-lightbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-lightbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-lightbox/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-lightbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-lightbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-lightbox/reviews/)

## Tags

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

 * 8 replies
 * 3 participants
 * Last reply from: [Archetyped](https://wordpress.org/support/users/archetyped/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/target-certain-css-class/#post-7599370)
 * Status: resolved