Skip to main content
Oct 7, 2013 6:47 PM UTC
Question

Change form button color in form, not landing page?

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

Oct 7, 2013 6:50 PM UTC
Hi Alisa,

I believe adding the code that changes the form button color in the landing page template HTML should do the trick.
Translate
Level 10
Oct 8, 2013 12:17 PM UTC

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.

Translate