How to remove hover color in form button? | Community
Skip to main content
Anna_Blanchet1
Level 3
October 9, 2017
Question

How to remove hover color in form button?

  • October 9, 2017
  • 2 replies
  • 3724 views

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Julie_Colwell1
Level 4
October 10, 2017

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 4
October 10, 2017

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