• Resolved nathangracia

    (@nathangracia)


    French version :
    Bonjour, j’ai récemment acheté un plugin de lightbox. Pour pouvoir l’utiliser sur une galerie FooGallery, il faut que cette galerie aie la class “lighbox-customize”. J’utilise donc l’option avancée “attribue personnalisé de la galerie, et je rajoute : class=”lightbox-customize”. Cependant, cette classe n’apparait pas lors du rechargement de la page concernée.
    Comment rajouter une classe personnalisée sur ma galerie ?

    English version :
    Hello, I recently bought a lightbox plugin. To be able to use it on a Foogallery gallery, this gallery must have the class “lighbox-customize”. So I use the advanced option “assign custom gallery, and I add: class=”lightbox-customize”. However, this class does not appear when reloading the page.
    How can I add a custom class to my gallery?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bradvin

    (@bradvin)

    hi @nathangracia

    You cannot use the advanced settings to add a custom class, but this is a good idea. I will add this in the next update.

    For now, you will have to edit the page that includes the gallery and change the shortcode to include classes=”lightbox-customize”

    so your shortcode will look like:

    [foogallery id="291" classes="lightbox-customize"]

    Thread Starter nathangracia

    (@nathangracia)

    Thanks for the quick response !
    I’m maybe doing something wrong, but my class does not appear. Here are some screens :
    short code
    Output

    • This reply was modified 6 years, 2 months ago by nathangracia.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How do i add class attribute ?’ is closed to new replies.