Home › Forums › Jevelin Theme › Hook to insert content before hamburger menu on mobile?
Home › Forums › Jevelin Theme › Hook to insert content before hamburger menu on mobile?
Hello. At lower screen widths, in the header, the theme hides the usual main menu and replaces it with a hamburger icon. I am trying to insert a small amount of markup immediately to the left of this icon, as in the attached screenshot. I realize I can probably accomplish this by modifying the theme file /jevelin/inc/headers/header-mobile.php. To do so, I would have to copy that file to my child theme and insert my edits. But as an alternative, do you have a PHP function/hook I can add to my child theme’s functions.php–a function/hook that might be able to automatically insert my markup in my desired location?
The markup I want to insert is a span tag with a hyperlink and some text. I will include it here for you, but the text editor I’m using to compose this message will automatically translate the markup, so you may not be able to see the *actual* markup. The markup is:
<span class=”jba-ph-head”>☎<i>+1 (619) 231-3677</i></span>
Thanks in advance.
Hi @cagross,
I hope you are well today and thank you for your question.
No, there isn’t any hook so you have to overwrite that theme template file.
Best regards,
Shufflehound team
OK then, thanks. We can consider this resolved.
You are most welcome here 🙂
If you need services beyond standard support, we've got your back!
If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.
We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.
More complex styling changes, theme option modifications, and third-party integrations.
If you need something that's not included in the theme, we can code it for you.
Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.
Full website builds, custom theme development, or plugin creation from scratch.
We'll provide a clear quote based on what you need. No hidden fees.