What we could do to disable styles.css if no Contact Form
-
While doing my page audit I came to know that styles.css loads on all pages.
I believe, we only need this styles.css only when page has contact form like https://crunchify.com/contact/
Google Audit shows this message:
styles.css: 100% is not used by the current page.
div.wpcf7
div.wpcf7-response-output
div.wpcf7 .screen-reader-response
div.wpcf7-mail-sent-ok
div.wpcf7-mail-sent-ng
div.wpcf7-spam-blocked
div.wpcf7-validation-errors
span.wpcf7-form-control-wrap
span.wpcf7-not-valid-tip
.use-floating-validation-tip span.wpcf7-not-valid-tip
span.wpcf7-list-item
.wpcf7-display-none
div.wpcf7 img.ajax-loader
div.wpcf7 div.ajax-error
div.wpcf7 .placeheldIs there any recommendation you could give? It’s not impacting page loading at all but still what should we do to just disable if not required. It’s unnecessary one more request ??
- The topic ‘What we could do to disable styles.css if no Contact Form’ is closed to new replies.