New Landing How can we help? Themeforest Theme Support Dante Button color hover

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Dante
  • #51842
    maximearmstrong
    Member
    Post count: 73

    Hello,

    I just did a custom button color with my css. Everything works fine, except the button is not shading like your buttons on hover. Is it possible to get the css line for the hover button background shade?

    I’d like to give you my url, but my website is still managed locally.

    #52023
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hey, I’m afraid we would need to see the html of the button in order to have the classes to target the attributes.

    Can you show us a screenshot of the html markup of that button?

    #52211
    maximearmstrong
    Member
    Post count: 73

    Yes, no prob! Here is the code. The part i’d like to change is the hover background part.

    a.sf-button.custom-yellow {
    color: #222!important;
    background: #fff36d;
    }
    
    a.sf-button.custom-yellow:hover {
    background: #fff36d;
    }
    #52329
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hey, if you change your css to

    a.sf-button.custom-yellow:hover {
    background: #fff36d!important;
    }

    it should definitely work.

    You could also try

    background-color: #fff36d!important;

    Cheers!

    #52564
    maximearmstrong
    Member
    Post count: 73

    Hey Melanie, thanks for your answer, though it didn’t work.

    Actually, my button appears as the right color. For the hover part, I set the same background color temporary. My question would be more : How to make the same shade your standard buttons do. For instance, your gold button become darker on hover. This is the effect I want to reach, but I don’t know what to enter as background-color to get the same shade.

    #52596
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    We have added manually added the hover colour for each of our button presets. You just need to get a colour that is slightly darker than the colour you have set and it should work.

    – Kyle

    #52609
    maximearmstrong
    Member
    Post count: 73

    Ok! Thank you for your answer!

    #52610
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register