Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #806932

    ttwmarketing
    Participant

    Hey guys-
    the error is showing at the bottom of the page. please help jQuery(function($) { $(“li.menu-item-905 > a”).removeAttr(“href”); }

    http://a19.91d.myftpupload.com/

    #807064

    Thai
    Moderator

    Hi There,

    Please find and remove that code under functions.php file locates in child theme.

    If it doesn’t help, please provide us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link login to your site
    – WordPress Admin username / Password
    – FTP Account

    Don’t forget to select Set as a private reply. This ensures your information is only visible to our staff.

    Thanks.

    #807124

    ttwmarketing
    Participant
    This reply has been marked as private.
    #807782

    Friech
    Moderator

    Hi There,

    Thanks for the credentials. Please remove the code below from your Custom JavaScript.

    jQuery(function($) {
        $("li.menu-item-905 > a").removeAttr("href");
      
    }

    It does not play nicely with the other JavaScript on your customizer.

    You can add this on custom css instead.

    li#menu-item-905 {cursor: pointer;}
    li#menu-item-905 > a {pointer-events: none;}

    This CSS has the same effect as your JavaScript, it will void the link from your “Services” menu item.

    Hope it helps, Cheers!