Skip to content

Instantly share code, notes, and snippets.

@gicolek
Created May 21, 2025 12:01
Show Gist options
  • Save gicolek/608da6bf6cca1e90f17a50e6d42dd033 to your computer and use it in GitHub Desktop.
Save gicolek/608da6bf6cca1e90f17a50e6d42dd033 to your computer and use it in GitHub Desktop.
Contact Form 7 Template Yellow
/** this part of the code makes the background of our template yellow **/
.c-custom-template-wrap--yellow .wpcf7-form-control-wrap input,
.c-custom-template-wrap--yellow .wpcf7-form-control-wrap textarea,
.c-custom-template-wrap--yellow .wpcf7-submit {
background-color: #ffffd5;
color: black;
}
/** this part of the code, divides the HTML elements into two groups **/
.c-custom-template-wrap .c-custom-template {
display: grid;
grid-template-columns: auto auto;
grid-gap: 10px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment