Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #996088

    Hi,

    I’m trying to set the background color to the built-in button within the LayerSlider module. I set a class name to the button within a slide and then created some custom CSS to change the button’s background color on hover. I’ve tried various configurations but I can’t get it to work.

    Do you know how I can set this up so that the background color changes on hover? I need to set that background hover color based upon on a class name and NOT applied to all buttons. I’m including a link to an example of the LayerSlider I’m using below.

    Thanks!

    #996226

    Hey CodeSamurai,

    What is the class you added called?

    Best regards,
    Rikard

    #996313

    It can be anything, but let’s call the class sliderButtonBackground.

    #996407

    Hi,

    Thanks for the feedback, I couldn’t find that class on the page, but you can try something like this in Quick CSS:

    .ls-wrapper .layer_knapp:hover {
      background-color:red !important;
    }

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.