Extending/overriding CF7 classes
-
Hello. I am building a site with the latest Understrap, which uses BS5.
I am using contact-form7 for forms. In a previous Understrap there was a contact-form7.scss file in the sass/theme folder that extended the CF7 classes. So that a submit button got the BS .btn and .btn-primary classes. Like so:
// submit button, inherit .btn and .btn-primary classes. input[type=submit] { @extend .btn; @extend .btn-primary; }
I copied this contact-form7.scss file to my theme folder and import it from my child-theme.scss
This seems to work (the file gets imported) however the submit button in my forms do not get the BS classes.What am I missing here?
Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Extending/overriding CF7 classes’ is closed to new replies.