SOLVED

Custom HTML for Known leads

Go to solution
Pradeep_Ramaiah
Level 2

Custom HTML for Known leads

Can anyone help me with Custom HTML form code to accommodate french characters.

I'm trying to change default text Download to Télécharger in form button. But Marketo is not supporting.

Screen Shot 2017-02-14 at 1.08.53 PM.png

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Custom HTML for Known leads

I did give you the exact code: add that to your Custom CSS in Form Editor.

View solution in original post

9 REPLIES 9
SanfordWhiteman
Level 10 - Community Moderator

Re: Custom HTML for Known leads

Please move the thread to Products​. (Marketing Central is supposed to be for more general questions as opposed to product support.)

This is a known bug. Simple workaround: set the default button value to empty ( {{form.Button:default=}} ) and use CSS for the button text instead.

.mktoTemplateBox BUTTON[type="submit"]:after {

  content: "Télécharger";

}

Pradeep_Ramaiah
Level 2

Re: Custom HTML for Known leads

Hi Sanford,

Thanks for your help. I really appreciate it. I'm unable to still fix this.

I'm not a tech guy could you please provide the exact code to be used.

Regards

Pradeep

SanfordWhiteman
Level 10 - Community Moderator

Re: Custom HTML for Known leads

I did give you the exact code: add that to your Custom CSS in Form Editor.

Pradeep_Ramaiah
Level 2

Re: Custom HTML for Known leads

That's Great!!! It is working.

Thank you!!

Also I would like to change Link text from "Not you?" to "Vous n’êtes pas?"

Could you please provide the code.

SanfordWhiteman
Level 10 - Community Moderator

Re: Custom HTML for Known leads

.mktoTemplateBox A.mktoNotYou:after {

  content: "Vous n’êtes pas?";

}

(That translation seems off though.)

Pradeep_Ramaiah
Level 2

Re: Custom HTML for Known leads

Hi Sanford,

You are right. But I was testing if it can accommodate special characters.

I applied the CSS code you provided by setting the default value to empty. Here is the screen grab. I just want it to display Vous n’êtes pas?

Could please help me fix this.

pastedImage_4.png

pastedImage_5.png

pastedImage_6.png

SanfordWhiteman
Level 10 - Community Moderator

Re: Custom HTML for Known leads

Whoa, large image!

Yes, there's another bug here that I was expecting you to encounter. Don't clear the whole default. Just leave the first letter "V".  Then have just "ous n’êtes pas" in the CSS. Weird, but works.

Pradeep_Ramaiah
Level 2

Re: Custom HTML for Known leads

Very Wierd.  But ultimately it worked.

SanfordWhiteman
Level 10 - Community Moderator

Re: Custom HTML for Known leads