Header Style 5 Sticky Menu Bug?

Posted in: Newsmag
Post count: 15

Hello,

When header style 5 is enabled with a sticky menu the logo shrinks and the horizontal menu text realigns from its middle position to the top as a user scrolls down. Please check: http://bit.ly/1wJQy7F

<!– copy and paste. Modify height and width if desired. –>

Thank you!

Post count: 6535

Hi

I’ve checked your site and noticed that you have some custom css which change logo’s layout a bit. Try this css in theme panel > custom code > custom css to correct the missalgnement on afix:

@media (min-width: 768px){
.td-header-wrap .td-affix .td-main-menu-logo a{
line-height: 70px!important;
}
.td-header-wrap .td-affix .td-main-menu-logo img {
max-height: 70px !important;
}
}
.td-affix .sf-menu li{
margin-top: 10px;
}

Thanks!

Post count: 15

Thanks, Andrei! Your code snippet worked perfectly.

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newsmag’ is closed to new topics and replies.