Hi there,
not in the Free theme.
Simple solution is to go to Customizer > Layout > Primary Navigation and set the location to Float Right. This will position the logo to the left of menu.
Hi,
sorry to bother you again.
How can I align the toggle menu with the logo in mobile?
Thank you.
Greetings,
I have tried this CSS, but the logo doesn’t link with the homepage.
@media (max-width: 768px) {
.main-navigation .menu-toggle {
padding: 0 10px;
display: block;
position: absolute;
}
}
Leo
(@leohsiang)
It should be aligned by default if you are using the float right option in the customizer.
How are you adding the logo in the navigation currently?
Yes, I add it by code in functions.php and css.
And also yes, the main nav is aligned to the right.
// LOGO IN NAV BAR
add_action(‘generate_inside_navigation’,’generate_navigation_logo’);
function generate_navigation_logo()
{
?>
<div class=”site-logo”>
![]()
</div>
<?php
}
// CSS
.main-navigation .site-logo {
float: left;
padding: auto;
line-height: 50px;
margin-right: 1.5em;
}
You can check it in my web altaico.es
Thank you.
Greetings,
-
This reply was modified 3 years, 4 months ago by
Altaico.
-
This reply was modified 3 years, 4 months ago by
Altaico.