• Resolved axsanford

    (@axsanford)


        <noscript>
            <style>
            .woocommerce-product-gallery {
                opacity: 1 !important;
            }
            </style>
        </noscript>

    can some one help me understand what this is, why this is in my head, and how I can move it elsewhere?

    • This topic was modified 4 years, 2 months ago by axsanford.
    • This topic was modified 4 years, 2 months ago by axsanford.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi there,

    If you’re looking to remove it, please check out this github issue.

    Thread Starter axsanford

    (@axsanford)

    is there some step by step you can provide that I can follow, im new to this. I’m trying to resolve this error from siteaudit: “Noscript in head contains invalid HTML elements”

    @axsanford
    For removing this
    – open functions.php
    – add

    add_action( 'init', 'remove_wc_noscript' );
    function remove_wc_noscript(){
      remove_action( 'wp_head', 'wc_gallery_noscript' );
    };

    – save functions.php

    Thread Starter axsanford

    (@axsanford)

    Thank you, this solved my issue. Simply pasted the above into Code Snippets Pro plugin. Thank you very much.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘head contains noscript woocommerce.product.gallery’ is closed to new replies.