Skip to main content
February 18, 2014
Question

Can you change the size and colour of the button on forms 2.0?

  • February 18, 2014
  • 4 replies
  • 1111 views
There are a set of buttons you can use for Forms 2.0 but they are too small.

How can I make them bigger? Change the colour and font size?

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

4 replies

February 18, 2014
Yes you can change the color on the submit buttons:



Outside of that you are going to need to use the css editor to overwrite sizes. 
February 18, 2014
Thanks Jeffrey, I was able to change the colour of the button. 

I am after changing the text colour which doesn't seem an option and whatever I put in css doesn't seem to work. My css coding is a little rusty. 

Any suggestions on what it needs to be to increase text size and change the text colour?

Cheers,
Bec
February 18, 2014
Make sure you mark your css as important (using the !important; suffix at the end of all your CSS strings).

Be sure to vote on this idea (gets rid of the ned to mark as !important): 
https://community.marketo.com/MarketoIdeaDetail?id=08750000000Jdn3AAC

If you still have trouble let me know and I will look into exactly what needs to be updated in the css. 
September 12, 2014

Choose the button you want and then add it the below code in CSS:

 .mktoForm button {
  width: size you want !important;
  height: size you want !important;
  background-color: #color you want !important;
 font-size: size you want !important;
  }

.mktoForm button:hover {
  width: size you want !important;
  height: size you want !important;
  background-color: #color you want !important;
 font-size: size you want !important;
  }

Hope it help!