Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Mark Jaquith

    (@markjaquith)

    You’d have to do it in JavaScript. The way the plugin works, it doesn’t have an opportunity to inject classes, as it is just working on the URL (href) portion. This is how the “open in new tab” feature works.

    Not gonna add that to the plugin though.

    Thread Starter Lab Lover

    (@peterscaffidi)

    Thanks, I was able to find another plugin which provided the functionality I required. I appreciate the follow-up.

    Lab Lover,
    Which plugin did you use?
    I’ve spent 3 days trying to find a solution to this same question of using a class

    Thanks!!!!!!!!!

    Thread Starter Lab Lover

    (@peterscaffidi)

    It has been a while and I need to refresh my memory on how I accomplished my goal. Off hand, I seem to remember having to find a different way to get to my destination.

    Can you explain exactly what you are trying to accomplish while I walk the dogs and dust the cobwebs out of my head?

    Sure ??
    I’m trying to use a custom link to pop open a form in a lightbox.
    So the link would (hopefully) be “#” class=”eModal-1″

    I’m linking a portfolio item, and I don’t want to go directly to the portfolio post.

    Thread Starter Lab Lover

    (@peterscaffidi)

    Firstly, if you are in the USA or UK, this is my web site, the look and feel is finished but I have been too busy to create much text content.

    https://compuaidusa.com

    I circumvented the need to pass a class in a link by using several different plugins:

    1. https://www.ads-software.com/plugins/show-content-only/
    (the above plugin allows you to display only the content of a post and using “page links to”, I am able to set the link to set the dimensions of the lightbox / thickbox I am using. Try my menu items on the site)

    2. https://www.ads-software.com/plugins/masonry-post-gallery/
    (I use this to create the tiles on the main page, this plugin actually allows me to set a class of “thickbox” for it’s links, I don’t think this will help you”

    3. https://www.ads-software.com/plugins/auto-thickbox-plus/
    (I use this to display content when you click on the tiles)

    I really had to rummage my brain to remember how I set this up. If you have questions, I will try to help.

    Thank you, I’m going to try to follow those steps and see if I can make it work!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Assign CSS class to link’ is closed to new replies.