[Resolved] canvas menu did not work

Home Forums Support canvas menu did not work

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #910901
    Dalia

    Hello, on my site the canvas menu is without any function and I can not find out why.

    Otherwise after turn on caching css with your caching option one footer widget is missing and now there is to much white space under the footer.

    I can not delete the widget right now because it is not shown at the widget options anymore.

    Please help.

    Thanks,
    Dalia

    #911326
    Tom
    Lead Developer
    Lead Developer
    #911385
    Dalia

    Hi Tom,

    I added the following code to the functions.php of my child theme but it broke my site.

    This is what the site is looking about after entering the code

    Is this code correct?:
    remove_action( ‘wp_footer’, ‘generate_slideout_navigation’, 0 );
    add_action( ‘generate_after_footer’, ‘generate_slideout_navigation’ );

    #911394
    Dalia

    Hi again,

    ok, I forget an ; while adding the code.

    But also with the correct code it still not working.

    I leave the code in functions.php and you can take a look to my site again.

    Rgds,
    Dalia

    #911564
    Tom
    Lead Developer
    Lead Developer

    Hmm, the code doesn’t seem to be working.

    Can you try this instead?:

    add_action( 'wp', function() {
        remove_action( 'wp_footer', 'generate_slideout_navigation', 0 );
        add_action( 'generate_after_footer', 'generate_slideout_navigation' );
    } );
    #911638
    Dalia

    Hi Tom,

    this code is perfect. The canvas menu working and the white space under the footer is gone.

    But I think this empty space under the footer came from a broken footer widget. This widget is still missing.

    #912032
    David
    Staff
    Customer Support

    Hi there,

    can you try moving the missing widget to a different widget area – say Widget 1 instead to test if the widget is actually working or if something else is breaking it.

    #912045
    Dalia

    Hi David, I can not find this widget anywhere. It was a HTML Widget with some images. Is this code anywhere hidden in the code from my site? I can not believe it is deleted. My aspiration is a fast side with a clean code. Can you see any issues?

    Oh and – When I delete Toms Code from Function.php, the Canvas Menu shows behind the footer.

    #912052
    David
    Staff
    Customer Support

    Sorry a little unclear – so you if you go to Customizer > Widgets > Footer – the HTML Widget you added is no longer there? If so then there is nothing in the Theme that would have removed it. You would need to add that back in.

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.