getting logo and call now button inside mobile menu
-
I have this simple snippet:
<div id="mobile-menu-logo"><img src="/mobile-menu-logo.png"/></div> <div id="call-now-button"><a href="tel:+15555555555"><img src="/call-now.png"/></a></div>
I would love to be able to get this inside the Customizr menu (inline) when it’s being viewed from a smartphone. I think it would be best to have it in the main menu wrapper, not in the dropdown accordion. This way it could be viewed at all times.
There is currently a “feeds icon” in the left side of menu, which I would like to replace with my snippet.
I found this great tutorial about getting a search form inside the menu:
https://www.themesandco.com/snippet/adding-an-html5-search-form-in-your-wordpress-menu/Any suggestions on how I could modify the snippet that goes in functions.php to insert my snippets instead of a search form?
I’m OK with editing php, but not so good at writing it from scratch.
Once they are inside of menu, it will be easy to style and position them with css.
About 70% of our site visitors are on mobile devices. Having a little logo (20px tall, etc) and a click to call button seems great, because visitors see your site name and can call you at any point by clicking button, rather than having to go find your phone number on contact page. I think a lot of other Customizr users could also benefit from a modification like this.
Thank you for any help.
- The topic ‘getting logo and call now button inside mobile menu’ is closed to new replies.