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

Anonymous
Not applicable

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

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
Tags (1)
4 REPLIES 4
Anonymous
Not applicable

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

Yes you can change the color on the submit buttons:
0EM50000000RULQ.jpg


Outside of that you are going to need to use the css editor to overwrite sizes. 
Anonymous
Not applicable

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

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
Anonymous
Not applicable

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

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. 
Anonymous
Not applicable

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

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!