• Hi,

    My clients website is using a child theme and the mobile menu isn’t working. It seems that sydney-svg-icon is missing when the child theme is active.

    (I’ve coloured the background temporarily)

    Have you come across this before? Any advice would be appreciated while I investigate.

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi,

    Your child theme might contain header.php that overrides the heder part of the theme. Please check it (if it presents) and do some adjustments in regards to some changes added into the newer versions of the theme.

    For mobile menu part, if you have

    <div class="btn-menu"></div>
    

    ,

    to add SVG icon for mobile menu, you should replace it to

    <div class="btn-menu" aria-expanded="false" <?php echo wp_kses_post( apply_filters( 'sydney_nav_toggle_data_attrs', '' ) ); ?>><i class="sydney-svg-icon"><?php sydney_get_svg_icon( 'icon-menu', true ); ?></i></div>
    
    Thread Starter lucy_jo

    (@lucy_jo)

    Hi
    Sorry I am unable to recognise this in the child theme header

    Hi @lucy_jo,

    As checked further, yes, you are right. Looks likely you are currently using legacy header layout whose the mobile menu uses FontAwesome icon.

    You should be prompted to choose either old or new header layout in your dashboard: https://i.snipboard.io/pYFX3T.jpg.

    Try to update theme header to enable the new layout for header part that includes SVG icon for the mobile menu.

    Thread Starter lucy_jo

    (@lucy_jo)

    Thank you for your continued assistance but I had no prompt.

    There are two admins so this may have been previously missed.

    Could you point me to where I could find this setting manually please?

    Thread Starter lucy_jo

    (@lucy_jo)

    Issue still persists, where can I manually find the header upgrade please

    I’m in the same boat. I dismissed the header upgrade (since it said no need to upgrade if you’re happy – didn’t mention it would break the menu!) and now can’t find any way of upgrading.
    Highly unlikely I’ll be getting any orders on my site until it is fixed…

    Edit: I think the legacy header may well be causing the scroll up button not to work either. The “go-top” button in the page code doesn’t have an icon. I then spotted the ‘scroll to top’ option in Customise, but that doesn’t work at all…

    • This reply was modified 2 years, 6 months ago by lolo23.

    @lucy_jo
    I managed to find the header notice.
    If you go to /wp-admin/options.php

    Then scroll down to
    sydney-update-header-dismiss
    and change the value to 0

    The update option reappeared on my dashboard.

    Thread Starter lucy_jo

    (@lucy_jo)

    @lolo23

    You are a star! Thank you.

    Hasn’t solved the menu button though, but with the update I can continue to troubleshoot.

    • This reply was modified 2 years, 6 months ago by lucy_jo.

    @lucy_jo

    I had to make a new header file in my child theme, based off the newly updated header. That fixed it for me.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Mobile menu not visible on child theme’ is closed to new replies.