Change form button color in form, not landing page? | Community
Skip to main content
October 7, 2013
Question

Change form button color in form, not landing page?

  • October 7, 2013
  • 2 replies
  • 986 views
Is there a way to change the submit button color in the form itself so I don't need to add code to each new landing page? I've read this article https://community.marketo.com/MarketoArticle?id=kA050000000KysI&src=comm but thought there should be a way to change the default button on all forms instead of having to edit on each landing page.
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

October 7, 2013
Hi Alisa,

I believe adding the code that changes the form button color in the landing page template HTML should do the trick.
Level 10
October 8, 2013

Hi Alisa

As mentioned in the article shared by you, you will have to add CSS of your 'Submit' button in start fancy button code shared on the page.

Replace this:

div.buttonSubmit input, div.buttonSubmit span {

background-image:url(imageURL);

With:

div.buttonSubmit input, div.buttonSubmit span {

background-color:#121212;

After this, all the landing pages using this template will have the submit button of the color, mentioned in the code by you.