Home Forums WoodMart support forum Fixing errors from W3 validator.

Fixing errors from W3 validator.

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #335869

    bigdrop
    Participant

    My first question is related to this support forum.
    I was trying to reply to my previous thread (started September 6th, found here https://xtemos.com/forums/topic/fix-erors-from-validator-w3-org/) but I was unable to reply to this thread? Why is this happening?

    I prefer to ask there because all this is related and I would like it to be in one place for future reference.

    #335870

    bigdrop
    Participant

    Please also advice for this one

    #336104

    Hello,

    1. Please lazy loading in Elementor for the products.

    2. Please add this code to the functins.php of the child theme:

    function woodmart_parallax_scroll_data( $x, $y, $z, $smooth ) {
    	$data = array();
    
    	woodmart_enqueue_js_library( 'parallax-scroll-bundle' );
    
    	if ( $x ) {
    		$data[] = '"x":"' . $x . '"';
    	}
    	if ( $y ) {
    		$data[] = '"y":"' . $y . '"';
    	}
    	if ( $z ) {
    		$data[] = '"z":"' . $z . '"';
    	}
    	if ( $smooth ) {
    		$data[] = '"smoothness":"' . $smooth . '"';
    	}
    
    	return 'data-parallax=\'{' . implode( ',', $data ) . '}\' ';
    }

    If you have any questions please feel free to contact us.

    Best Regards

    #336213

    bigdrop
    Participant

    Also can I ask you why am I getting this error in the console?

    Uncaught Error: Permission denied to access property "apply"
        jQuery 5
        c ..../wp-content/themes/woodmart/js/scripts/menu/menuOffsets.min.js?ver=6.2.4:1
        menuOffsets ..../wp-content/themes/woodmart/js/scripts/menu/menuOffsets.min.js?ver=6.2.4:1
        jQuery 10
        menuOffsets ..../wp-content/themes/woodmart/js/scripts/menu/menuOffsets.min.js?ver=6.2.4:1
        jQuery 2
        menuOffsets ..../wp-content/themes/woodmart/js/scripts/menu/menuOffsets.min.js?ver=6.2.4:1
        <anonymous> ..../wp-content/themes/woodmart/js/scripts/menu/menuOffsets.min.js?ver=6.2.4:1
        jQuery 7
        b ..../wp-content/themes/woodmart/js/scripts/global/helpers.min.js?ver=6.2.4:1
        d ..../wp-content/themes/woodmart/js/scripts/global/helpers.min.js?ver=6.2.4:1
        onload ..../wp-content/themes/woodmart/js/scripts/global/helpers.min.js?ver=6.2.4:1
        onload ..../wp-content/themes/woodmart/js/scripts/global/helpers.min.js?ver=6.2.4:1
        EventHandlerNonNull* ..../wp-content/themes/woodmart/js/scripts/global/helpers.min.js?ver=6.2.4:1
    #336221

    bigdrop
    Participant

    Regardless my first question I am not using the Elementor plugin.
    I use the WP Bakery.

    Also after I inserted the above code to functions.php it generated 15 more errors.

    #336414

    Hello,

    Please provide your FTP access.
    Please insert the credentials into the Private content below the message area.

    Best Regards

    #337529

    bigdrop
    Participant

    Sorry for the long reply.
    Please find the credentials in the private section

    #337709

    Hello,

    Please provide us with site admin access and switch to the child theme so that we could reproduce the problem.

    Best Regards

    #338006

    bigdrop
    Participant

    Hi,

    Please find it attached.
    Thank you

    #338167

    Hello,

    Our developers have added the code, please how it works now.

    If you have any questions please feel free to contact us.

    Best Regards

    • This reply was modified 2 years, 4 months ago by Elise Noromit.
    #338256

    bigdrop
    Participant

    Thank you!

    #338455

    Hello,

    You have enabled lazy loading in Elementor: https://prnt.sc/22kftw1

    Please disable and check again.

    If you have any questions please feel free to contact us.

    Best Regards

    #340814

    bigdrop
    Participant

    Thank you very much!

    #340906

    You are welcome! We are here to help.

    Wish you a wonderful day!

Viewing 14 posts - 1 through 14 (of 14 total)