• Resolved kheops28

    (@kheops28)


    Hello,
    Is it possible to change the default filter button (All) in the plugin SimpLy Gallery block & ligthbox ?
    When a page, having a simply-masonry gallery, is loaded the “All” button is automatically set and executed. I would like to start the gallery wiht another “tag button” than the default one. I tried to find a solution adding js script but I wasn’t successful.
    Thank you very for your answer. Best regards.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author GalleryCreator

    (@gallerycreator)

    Hello, try add this css:

    div[data-id$="pgc_0"] {
      display: none;
    }
    Thread Starter kheops28

    (@kheops28)

    Hi,
    Thank you very much for your quick answer. Unfortunately it doens’t work.
    The gallery has 8 tags. The first one is All than Artiste, Dessins and so on.
    If I put div[data-id$=”pgc_0″] { display: none;} Nothing happens.
    If I put div[data-id$=”artiste”] { display: none;}, which is the second tag, it works, the tag Artiste disappears. Oddly it works with all tags except pgc_0 !
    By the way, your plugin is a great one. Simple and easy to use. Thanks.

    Plugin Author GalleryCreator

    (@gallerycreator)

    Link to page with gallery?

    Thread Starter kheops28

    (@kheops28)

    https://www.bergerjl.ch/oeuvres/
    New information. I did my tests local without success. Before answering to you I tried in production, and here div[data-id$=”pgc_0″] { display: none;} works (I don’t understand why but, no matter). The new situation is : the All tag is hidden, but the page still displays all the pictures instead of displaying only the pictures linked to the tag Artiste. This is aim of this modification. I would like that when the page is loaded, the pictures displayed are those under the tag Artiste.

    Plugin Author GalleryCreator

    (@gallerycreator)

    Your wish is a completely different story and there is no quick fix. I will think about this task and maybe someday I will implement it.

    Thread Starter kheops28

    (@kheops28)

    OK. Thank you for your quick answer.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘SimpLy Gallery block change the default filter button’ is closed to new replies.