Input image between Logo and Menu
URL to the page in question:
http://www.okanaganwebdesign-draft-site-2.ca/
-
Hi there,
I am wanting to add an linked image between the Logo and the Menu. Is this possible, and if so, where in the code could I add the image/link HTML code?
Images attached for reference.
Thank you,
James.
Hi James,
You can do that. Here’s how:
- Go to the Appearance section in your WordPress dashboard and choose Edit.
- From the list of files on your right, choose sidebar.php
- Locate this spot:
<?php wp_nav_menu( array(
'theme_location' => 'primary',
'container' => 'nav',
'container_id' => 'side-menu',
'menu_id' => 'primary-menu',
'depth' => 2,
'fallback_cb' => false
) ); ?>
You can place your HTML right above it to have the code inserted between the logo and navigation menu.
- Save your changes.
See how that works for you. Let me know if you have any questions.
Thanks,
Bill
Hi there,
That is awesome! Thank you again.
-James.
- The topic ‘Input image between Logo and Menu’ is closed to new replies.