Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #815718

    How do I add a hover effect to a button within the LayerSlider? I have tried applying a unique class (ex: “custombuttonclass”) to the button layer (inside Link & Attributes panel) then declaring the hover state of the element in the Quick CSS field. Eg:

    .custombuttonclass:hover {
    background-color: blue;
    color: orange;
    }

    But this is not working. I have attempted multiple css tricks but nothing has worked. Please help, this should be a simple thing to achieve.

    #815788

    Hey EnlightenedMedia,

    Please try using the !important rule.

    .custombuttonclass:hover {
    background-color: blue !important;
    color: orange !important;
    }

    Let us know if that works for you!

    Best regards,
    Sarah

    #816278

    Hi Sarah, I tried that but still nothing changes.

    #816285

    I found a solution within Layer Slider, so I don’t need to define a custom class.

    This is what I did:

    With the button layer selected, go to the Transitions tab and enable Hover. Within hover settings, set colors in the Style Properties box. In the Timing & Transitions box, alter the duration to 100 ms. And that’s it, now I have a hover effect on my button!

    #816385

    Great, and thank you for sharing!

    Please let us know here in the forums if you need help with anything else.

    Cheers!
    Sarah

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘How to add Hover color effect color to button in LayerSlider?’ is closed to new replies.