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
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!
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.
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!
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