W3 Validator CSS Error for x-v6_5_5 cornerstone-v3_5_4

Hello,

I have the latest version of WP, X, and Cornerstone. I also have WP multisite active. Primary website is https://www.bellafsm.com

When I check for html errors using W3 Validator I am receiving “Error: CSS: x-v6_5_5: Parse Error” on every page.

Can you please advise how to remove this code.

Thank you

Hi John,

Thank you for the very detailed post information.

I have checked your site and I found out that the “Google Tag Manager for WordPress” plugin is causing the issue. I have temporarily disabled your W3 Total Cache and switch the “Custom” as your GTag setting.

Please check your site again in the validator now.

Thank you! I reactivated W3TC and ran the validator and error is no longer there.

I see in selected Gtag setting “Custom” it says "needs tweak in your template). Do you what this is referring to?

Best regards

Hi John,

Yes, you will have to edit your template and include the provide code, example, add this code to your child theme’s functions.php

add_action('wp_head', 'gtag_code', 99999999);
function gtag_code () { ?>

if( function_exists( 'gtm4wp_the_gtm_tag') ) { gtm4wp_the_gtm_tag(); }

<?php }

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.