I just updated my theme, and was re-applying changes I made to the logo in header.php, but it seems like it’s moved somewhere else – and I’m not sure where!
Can someone tell me where the logo div is so I can re-apply this change: https://kriesi.at/support/topic/how-to-change-fixed-header-logo/
Thanks!
Hi tlow87!
Everything was moved to the includes>helper-main-menu.php file to work with the new builder.
Cheers!
Devin
Hey tlow87!
You can find the logo on includes > helper-main-menu.php. Find the code on line 101:
echo avia_logo(AVIA_BASE_URL.'images/layout/logo.png', $addition, 'strong', true);
Best regards,
Ismael
I didn’t want to mess with all the new cool header/logo stuff, so I used this CSS to pull this off:
.header-scrolled .logo {
display: block;
width: 40px;
height: 40px;
top: 4px;
background: url('http://ksha.com/KSHA_logo_mobile.png') no-repeat;
background-size: 35px 35px;
float: left;
position: absolute;
left: 0;
z-index: 1;
-webkit-transition: opacity 0.5s ease-in;
-moz-transition: opacity 0.5s ease-in;
-o-transition: opacity 0.5s ease-in;
opacity: 1;
}
.header-scrolled .logo img { display: none; }
Glad you found a fix that works for you :)