Home Forums Basel support forum How to color invert custom button on hover

How to color invert custom button on hover

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #142644

    kyledparsons30
    Participant

    Hi there,

    I’m trying to apply some custom CSS to a custom button however it’s not working.

    I gave it a custom extra class name and I’m trying to make the background color be #FFFFFF and the text color be #002750 when hovering over it.

    Please see attached screenshots. How can I make this work?

    Thanks,

    Attachments:
    You must be logged in to view attached files.
    #142703

    Hello,

    Please provide the site admin access to the private area.

    Best Regards

    #142741

    kyledparsons30
    Participant

    Hi Elise,

    Please see below:

    #142758

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    body div.landing-button a:hover{
    background-color:white!important;
    border:2px solid #002750!important;
    	color:#002750!important;
    	background-image:none;
    }
    body div.landing-button a{
    border:2px solid #002750!important;
    }

    Best Regards

    #142819

    kyledparsons30
    Participant

    That worked, thanks!

    #142826

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

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

The topic ‘How to color invert custom button on hover’ is closed to new replies.