I’ve read the following threads and tried all the solutions, but nothing works:
The weird thing is, when I view it in a desktop browser, and use Web Developer/responsive view, it shows up. When I look at it on an actual device, it doesn’t show - just a blank square where the symbol should be.
The site is here:
I am using a child theme and I have updated the header and footer files, and the stylesheet, with any new code. I’ve tried temporarily using the Sydney theme instead of the child and it works.
I’m not sure what else to try and this is the only thing I need to fix before site launch.
I had the same problem of a couple of sites with a hamburger menu missing on mobile and ipads that used a child theme of Sydney. I had created a custom header.php. I had not checked the main Sydney header.php in a while as it was upgraded through many versions. When I did I noticed some changes which I had to add to my custom header.php (most likely it was the line with:
<div class=“btn-menu”><i class=“sydney-svg-icon”><?php sydney_get_svg_icon( ‘icon-menu’, true ); ?></i></div>
but it could have been some of the other changes. I just incorporated all the changes.
The site is not important. I was using a header.php modified from a very early version of Sydney as shown below. A recent update broke the hamburger display. I took the latest version Sydney and modfied the header.php with the modifications I had previously made, as also shown as the second piece of code.
The code does not quite come out right when I cut and paste it but you’ll easily see the differences; there are only a few.
Here is my header.php that failed to show the Hamburger menu:
* The header for our theme.
* Displays all of the section and everything up till
@kharisblank, I appreciate the thought but I don’t think you have really read my posts. I no longer have the problem. Updating the header.php in my child theme as shown in my post solved the hamburger not appearing issue.