Support » Theme: Canard » Menu goes to footer when the window is smaller

  • Resolved selimaab

    (@selimaab)


    Hey!
    When an Internet window gets smaller on my computer, my menu goes from top to footer. How can I change that?

    I use WordPress 4.6.1 and here is my website: http://www.thesocialface.com

    Please help me!
    Thank you for you help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Kathryn

    (@zoonini)

    Automattic Happiness Engineer

    Hmm, Canard’s menu should turn into a compact mobile menu at the top right, as you can see on the demo:

    https://canarddemo.wordpress.com/

    It looks like you’ve made quite a few customizations to Canard. To figure out what’s causing the menu to behave that way on smaller screens, you can try undoing your changes bit by bit to find the culprit.

    Did you make any edits directly to your theme files? (Not just CSS.) If so, make a backup of your modified theme and then reinstall a fresh, untouched copy of Sela.

    Then, move your changes gradually into a child theme.

    If you edit the theme files directly, your tweaks will be overwritten and lost every time you update the theme. Here are some guides in case you haven’t made one before:

    http://codex.wordpress.org/Child_Themes
    https://www.smashingmagazine.com/2016/01/create-customize-wordpress-child-theme/

    Keeping your theme up-to-date is important so you’ll get all the latest bug and security fixes, as well as keep the theme compatible with the latest version of WordPress core.

    If you only need CSS changes, you don’t need a child theme, you can just use a custom CSS plugin instead. Since you’re already using Jetpack, an easy way to add custom CSS is to activate the Custom CSS module. You’ll then add your custom CSS in the new stylesheet editor that’ll appear in your dashboard, under Appearance > Edit CSS.

    If your custom CSS is already in a custom CSS plugin and you didn’t make any theme-file edits, one of your plugins may be breaking your HTML. To rule out a plugin conflict, you could try temporarily deactivating all your plugins. Does the problem persist? If the problem is gone, reactivate your plugins one-by-one, look at the site in between each reactivation, to find the conflict.

    Let me know how it goes.

    Hi Kathryn and thank you so much for previous help!

    I have decided to restart the thing all over and create a child theme. I am now preparing a new version of my website on a local basis before putting it online.

    A different problem occurred this time: my menu appears on top, but… also in the footer, just under my sidebar, when I go try the tablet or phone screen mode or simply reduce my window size a bit too much.

    I am using Visual Composer, Slider Revolution & Ultimate Social Media Icons as plugins.

    My new theme is TwentySixteen (not Canard anymore), so I am not sure if I should write back here or on the TwentySixteen support forum.

    Also, these are the only Custom CSS modifications I made:

    .site-header{
    padding:3px
    }

    and

    .site-main > article {
    margin-bottom:5px
    }

    Thanks for your answer and help!

    Moderator Kathryn

    (@zoonini)

    Automattic Happiness Engineer

    Please do post over in the Twenty Sixteen forum since you’re no longer using Canard. Good luck!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Menu goes to footer when the window is smaller’ is closed to new replies.