Skip to content

Instantly share code, notes, and snippets.

@andymagill
Last active May 4, 2022 16:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andymagill/a119bc1271cc5570ac92513a509f3cd1 to your computer and use it in GitHub Desktop.
Save andymagill/a119bc1271cc5570ac92513a509f3cd1 to your computer and use it in GitHub Desktop.
Marketo Form Overrides
// marketo form overrides
// from https://jennamolby.com/how-to-create-responsive-marketo-forms/
.mktoForm {
&,
.mktoLabel ,
.mktoHtmlText ,
.mktoFormRow,
.mktoFieldWrap,
.mktoFormCol,
.mktoButtonRow,
input[type=url],
input[type=text],
input[type=date],
input[type=tel],
input[type=email],
input[type=number],
textarea.mktoField,
select.mktoField {
width:100% !important;
}
.mktoButtonRow {
text-align:left !important;
}
.mktoButtonWrap {
margin-left:0 !important;
}
.mktoLogicalField {
width: auto !important;
}
@media (max-width: 768px) {
.mktoFormCol {
width:100% !important;
}
.mktoFieldWrap {
padding-right:0 !important;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment