SOLVED

Re: Editing Known HTML Form Area?

Go to solution
John_Westley
Level 4

Editing Known HTML Form Area?

Hello,

Can anyone help me with the HTML code needed to add a background color or border to the known visitor section of a form?

I really like what Marketo had done in this example but we currently don't have a developer on staff to figure out how.

I've tried adding basic HTML but Marketo seems to be stripping it out when I save it. Is this something that would require JS?

Thanks in advance for the help!

2015-12-16_0850.png

1 ACCEPTED SOLUTION

Accepted Solutions
Kenny_Elkington
Marketo Employee

Re: Editing Known HTML Form Area?

The class of the known lead box is "mktoTemplateBox" so you can just apply style to it, either in the custom CSS of your form, you in your landing page.  For example, if you add this to your custom CSS, the box will be red:

.mktoTemplateBox{

     background-color: red;

}

Edit the CSS of a Form Theme - Marketo Docs - Product Docs

View solution in original post

3 REPLIES 3
Frank_Breen2
Level 10

Re: Editing Known HTML Form Area?

Kenny_Elkington
Marketo Employee

Re: Editing Known HTML Form Area?

The class of the known lead box is "mktoTemplateBox" so you can just apply style to it, either in the custom CSS of your form, you in your landing page.  For example, if you add this to your custom CSS, the box will be red:

.mktoTemplateBox{

     background-color: red;

}

Edit the CSS of a Form Theme - Marketo Docs - Product Docs

John_Westley
Level 4

Re: Editing Known HTML Form Area?

Thanks Kenny I can manage that amount of coding! Appreciate the info.