[URGENT!!] Jevelin Theme Jquery Error

Home Forums Jevelin Theme [URGENT!!] Jevelin Theme Jquery Error

Home Forums Jevelin Theme [URGENT!!] Jevelin Theme Jquery Error

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • dxnet2008
    Participant

    Hi, after updating the theme to v4.7. My entire site animation doesn’t work and met this error in console:

     

    Uncaught Error: Syntax error, unrecognized expression: nav.sh-header-mobile-dropdown li.menu-item > a[href*=#]

     

    Please help! it just stops everything working on my site! Thx!

    Hi @dxnet2008,

     

    Sorry to hear about the problem you are having.

     

    I have tested it on my test site and it’s working fine for me using the latest version of the Jevelin theme.

     

    Please clear and temporarily deactivate the cache If you are using any on your website.

     

    Could you please share your site URL where it’s happening so that I can troubleshoot it?

     

    Best regards,
    Shufflehound team

    I could confirm this issue on my website by using WordPress version 5.5

     

    It seems the theme jQuery script is causing the issue as jQuery is updated in the latest WordPress version 5.5

     

    The issue will be fixed ASAP in the upcoming version of the theme.

     

    In the meanwhile, you can fix it by adding below code in the functions.php file of the theme.

     

    add_action( 'wp_enqueue_scripts', 'load_old_jquery_fix', 100 );
    
    function load_old_jquery_fix() {
        if ( ! is_admin() ) {
            wp_deregister_script( 'jquery' );
            wp_register_script( 'jquery', ( "//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js" ), false, '1.11.3' );
            wp_enqueue_script( 'jquery' );
        }
    }
    
    

    dxnet2008
    Participant

    I simply solved by finding script.js under the theme package and change a[href*=#] to a[href*=’#’]

    Do you recon I keep everything like this until the theme updated or still add your code to function.php file?

    If everything is working fine after making that change then you don’t need to do anything or use the shared code.

    The issue is resolved in the below latest version of theme so please update the theme as described here https://support.shufflehound.com/updating-theme/

     


    Please login to access this file

     

    Please clear your browser cache after updating the theme so that the latest js and CSS files will be loaded.

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

Popular choice

Professional Developers At Your Fingertips!

If you need services beyond standard support, we've got your back!

Services we offer:

Demo setup
Advanced customization
Layout adjustment
Graphic work / visualizations
Custom coding
Full WordPress development and design

Services

What we can offer

  • Demo setup +

    If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.

  • Layout adjustment +

    We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.

  • Advanced customization +

    More complex styling changes, theme option modifications, and third-party integrations.

  • Custom coding +

    If you need something that's not included in the theme, we can code it for you.

  • Graphic work / visualizations +

    Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.

  • Full WordPress development and design +

    Full website builds, custom theme development, or plugin creation from scratch.

  • About pricing +

    We'll provide a clear quote based on what you need. No hidden fees.

Professional Developers At Your Fingertips!

Custom Work Form