How to remove hover color in form button?

Anna_Blanchet1
Level 4

How to remove hover color in form button?

Does anyone know how to remove or change a form button color when it's in the hover state? I was able to customize the button color when I chose the button. But when I hover over the button, the color changes to purple (which is not in our brand guidelines).

Thanks in advance for any advice!

2 REPLIES 2
Julie_Colwell1
Level 5

Re: How to remove hover color in form button?

Hi Anna,

You can find the answer in the community as this question has been asked before. Try this:

Change button hover color - Forms 2.0

And follow these instructions for editing CSS of a form:

Edit the CSS of a Form Theme - Marketo Docs - Product Docs

Hope that helps!

Akshay_Pant
Level 5

Re: How to remove hover color in form button?

Hi Anna Blanchet​,

Please refer to this link :

Marketo Form CSS - How To Remove and Override It - Phireworx

or use this kind of CSS for marketo form button :

.mktoForm .mktoButtonWrap.mktoSimple .mktoButton {

background-color:#447f19 !important;

}

// For HOVER Effect on Button

.mktoForm .mktoButtonWrap.mktoSimple .mktoButton:hover {

background-color:#447f19 !important;

}

Regards,

Akshay Pant