Hamburger menu effect

Posted in: Newspaper
Post count: 236

Hi, I would like to use the hamburger menu on desktop too. Is it possible to remove the effect that occurs when I click on the menu icon? Only on desktop, or on both desktop and mobile.
I mean this, namely the homepage that goes down:
https://gofile.io/d/kRcnQ1

It might be nice on mobile, but I don’t like it on desktop.
Thanks

Post count: 27744

Hello,

If I understand correctly, you want to use the hamburger menu, but when it opens it doesn’t take up the whole page, for this you need to use a custom code CSS, to look like this for desktop => https://www.screencast.com/t/eR5DY6EtFY
Set the code in Newspaper -> Theme panel -> Custom code -> Custom css.

#td-mobile-nav, .td-menu-background{
width: 22%;
}
.td-menu-mob-open-menu #td-outer-wrap {
box-shadow: 0 0 46px #000000;
position: unset;
transform: unset;
}

If this is not what you mean, please let me know!

Thank you!

Post count: 236

Hi, not exactly.
I would like no background effect to appear. That is, the page that is transformed and moved down.
See screenshot:
https://i.ibb.co/5nFMHtd/Schermata-2021-03-01-alle-11-32-45.png

I apologize if I have not been clear.

Post count: 27744

Hello,

I just tested the code and for menu looks well, without background effect => https://www.screencast.com/t/GqENp5FiiH
Also, if you want to change on mobile you can use this code and change only the width => https://www.screencast.com/t/lznuwJqyJo

#td-mobile-nav, .td-menu-background{
width: 50%;
}
.td-menu-mob-open-menu #td-outer-wrap {
box-shadow: 0 0 46px #000000;
position: unset;
transform: unset;
}

Also, if you want to change only on desktop/IPAD and you don’t want to change on phones you need to set the code in Theme Panel -> Custom Code -> Advanced CSS => https://www.screencast.com/t/bGCdwFqGks

Hope this is helpful!

Thank you!

Post count: 236

Solved.
Thanks for support!

Post count: 236

Hi, I noticed that the search button on mobile also has this effect. Could you tell me what is the CSS I need to add the “transform: unset” to?
Thank you

Post count: 27744

Hello,

Unfortunately, it can be obtained but it is more difficult because the elements have a certain priority for display and require more knowledge.

Thank you for your understanding!

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