Hi & TIA,
I’m using some code to shrink my logo on scroll into the navbar. However I’d like to align the logo to the left for mobile size. The logo currently over laps the mobile burger menu on small screen sizes.
Global JS:
jQuery( function($) {
var logo = $(“a.x-brand.img”).clone();
$(".x-navbar-inner .x-container").prepend(logo);
});
Global CCS:
}
.x-navbar-inner .x-container.max.width {
width: 100%;
max-width: 100%;
}
.x-navbar-inner a.x-brand.img {
max-width: 120px;
position: absolute;
top: 5px;
opacity: 0;
transition: all 0.5s ease;
}
.x-navbar.x-navbar-fixed-top a.x-brand.img {
opacity: 1
}