Support » Plugin: Scriptless Social Sharing » Hover color CSS does not work

  • Resolved ledinhtan

    (@ledinhtan)


    I have this CSS to change hover color on my site. But it doesn’t work. Do I miss something?
    Thank you for your help.

    .scriptlesssocialsharing__buttons a.button {
        background-color: #f15025 !important;
        color: #ffffff;
        border-radius: 5px;
        margin-right: 5px;
        margin-left: 5px;
        font-size: 15px;
        letter-spacing: 2px;
        font-weight: 600;
    }
    
    .scriptlesssocialsharing__buttons {
        justify-content: center;
    }
    
    .scriptlesssocialsharing-buttons a.button:hover {
      background-color: #2a2b2a;
      color: #ffffff;
    }
    

    The page I need help with: [log in to see the link]

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

    (@littlerchicken)

    It looks like your parent selector on your hover rule is not correct. Try changing it to .scriptlesssocialsharing__buttons a.button:hover. Additionally, because you have the !important on the initial background-color, you’ll need to make the hover color !important as well. Hope that helps!

    Yes, It worked. Thank you so much Robin!

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