Support » Plugins » [Plugin: jQuery Colorbox] How can I add class=”colorbox-ID” to wordpress gallery

Viewing 5 replies - 1 through 5 (of 5 total)
  • danatstadiumvolleyball

    (@danatstadiumvolleyball)

    so – if I understand now – using wp built in gallery has no way to do this. correct?

    Hi,

    um, if I understand correctly, you just want the Colorbox to work for whole WordPress galleries just like the demo on my website?
    That is easy, just activate the plugin, go to the settings page and set the plugin to auto for all images.

    Cheers,
    Arne

    danatstadiumvolleyball

    (@danatstadiumvolleyball)

    But sometimes I want to exclude colorbox from working – wp gallery doesn’t give me an obvious place to insert a class.

    FAQ- Add the CSS class “colorbox-off” to the image you want to exclude.
    jQuery Colorbox does not add the colorbox CSS class to images that already contain the CSS class “colorbox-off”.

    for instance can i have the gallery type grouping but when clicking the image not do the colorbox thing but treat as normal link. I’m probably misunderstanding how this can be done.

    Ah, ok, I misunderstood the first time.

    You are right – it seems that there is no built-in way to add CSS classes to images inside a WordPress gallery 🙁

    danatstadiumvolleyball

    (@danatstadiumvolleyball)

    I changed my needs to keep using this plugin…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: jQuery Colorbox] How can I add class=”colorbox-ID” to wordpress gallery’ is closed to new replies.