How to avoid menu resizing

Posted in: Newspaper
Post count: 74

Hello,

On my site anonymster.com when the menu is scrolling down it gets smaller.

I’d like to make this dimension fixed, even when you are on top of the page (currently the menu gets bigger).

Can you pls help.

thx

  • This topic was modified 9 years by bariton.
Post count: 20688

Hi,

That would require some custom css code, to make the header logo and menu remain the same when sticky and the affix class applies, like this
https://www.screencast.com/t/2EJkvrlKII3
This is the code, if you want to use it you must enter it in Theme panel->Custom Css

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

Thanks

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