Reply To: Logo In Navbar

Home Forums Support Logo In Navbar Reply To: Logo In Navbar

Home Forums Support Logo In Navbar Reply To: Logo In Navbar

#71358
Tom
Lead Developer
Lead Developer

Ok, here’s how we do this ๐Ÿ™‚

First, we’ll add our custom CSS:

.main-navigation .site-logo {
    float: left;
    line-height: 60px; /* Adjust this to your menu item height */
    margin-right: 1.5em;
}

Now, let’s add our PHP – we can use this plugin to add the code: https://wordpress.org/plugins/code-snippets/

add_action('generate_inside_navigation','generate_navigation_logo');
function generate_navigation_logo()
{
?>
	<div class="site-logo">
		<img src="THE URL TO YOUR IMAGE" alt="" />
	</div>
<?php
}

A couple small adjustments may be needed – but that should be the bulk of it ๐Ÿ™‚