Home Forums Particles Support Make more particles compatible with Content Toggle

Viewing 8 posts - 1 through 8 (of 8 total)
  • Avatar
    GILLARD Kévin
    Subscriber

    hi, i would like to make the particles “Article List” and “Content Grid” compatible with the Toggle function of the particle Toggle Content.

    I tried to copy bits of code from Toggle Content files but the particles I am trying to make compatible are not displayed in the toggler, only the title of the particle is displayed, can you help me?

    PS: if all the particles were compatible with Content Toggle, we could do a lot of cool things.

    Best regards.

    Avatar
    Tony
    Moderator

    Could you please give me the test site to take a look ?
    Thank you

    Avatar
    GILLARD Kévin
    Subscriber
    Avatar
    Tony
    Moderator

    Hi Gillard,
    You can create a structure like so https://imgur.com/UsmI1Va

    then add css class for content grid and article list, e.g: hideme (see https://imgur.com/An5rtym )
    Next, open content grid and add hidden attribute like this https://imgur.com/qDsjTbw

    It will work like you expect 🙂

    Thanks

    Avatar
    Tony
    Moderator

    NOTE: You need to add hideme for content toogle (toggle class option) too

    Avatar
    GILLARD Kévin
    Subscriber

    hi,

    ok i will test, thanks for the reply and great job with all of these particles.

    Avatar
    Tony
    Moderator

    Merry Christmas Gillard 😀

    Avatar
    GILLARD Kévin
    Subscriber

    You too ^^

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

You must be logged in to reply to this topic.