• Resolved devotionit

    (@devotionit)


    Hello dear WordPress Team,

    i am currently trying to fix a website from a friend of mine which was made with WordPress.
    The Problem is, when you go to the mobile version of this site, the burger menu in the header wont open.
    Does somebody of you probably know, where i can fix this or do you see some kind of error?
    Website:?https://bryonarcher.de/
    Kind regards

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi

    I see your site and check issue. i see console so there one error that say Uncaught TypeError: $(…).live is not a function.

    fyl

    jQuery .live() has been removed in version 1.9 onwards

    That means if you are upgrading from version 1.8 and earlier, you will notice things breaking if you do not follow the migration guide below. You must not simply replace .live() with .on()!Read before you start doing a search and replace:

    For quick/hot fixes on a live site, do not just replace the function live with on,
    as the parameters are different!

    .live(events, function)
    

    should map to:

    .on(eventType, selector, function)
    

    The (child) selector is very important! If you do not need to use this for any reason, set it to?null.

    so please change here
    $(‘.side-dashboard-toggle’).live(“click”, function(){

    to

    $(‘.side-dashboard-toggle’).on(“click”, function(){

    Thread Starter devotionit

    (@devotionit)

    Hello,

    thank you alot for your help, this fixed my Problem!

    Kind regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Header (Burgermenu) Wont show on Mobile Version’ is closed to new replies.