ec25 Posted October 25, 2023 Share Posted October 25, 2023 Hello, I am trying to find a CSS to make the burger menu in mobile smaller, much like the edit picture below. Thank you. Here's my website https://www.erinncapko.com/ Link to comment
tuanphan Posted October 29, 2023 Share Posted October 29, 2023 You mean burger icon size or burger menu items? With burger icon, you can add this to Website Tools (under Not Linked) > Custom CSS div.burger-inner>div { width: 70% !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
ec25 Posted October 29, 2023 Author Share Posted October 29, 2023 18 hours ago, tuanphan said: You mean burger icon size or burger menu items? With burger icon, you can add this to Website Tools (under Not Linked) > Custom CSS div.burger-inner>div { width: 70% !important; } Hello, Sorry i meant the burger icon size, This code only decreases the width, is there not a CSS that keeps the same width but just "minimizes"/"shrinks" the same, so the burger icon is basically the same width and length but just shrink? Link to comment
tuanphan Posted November 3, 2023 Share Posted November 3, 2023 So you mean reduce each line (3 lines) height or space between lines? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
ec25 Posted November 4, 2023 Author Share Posted November 4, 2023 On 11/2/2023 at 9:51 PM, tuanphan said: So you mean reduce each line (3 lines) height or space between lines? I guess maybe the space between the lines? I am just trying make the overall burger icon smaller...can't find a CSS, but have seen it done. Here's an example You can see how much smaller it is compared to mine, but it keeps the same width. Thanks Link to comment
Solution tuanphan Posted November 6, 2023 Solution Share Posted November 6, 2023 Add this code to Website > Website Tools (under Not Linked) > Custom CSS body:not(.header--menu-open) { div.burger-inner>div { width: 70% !important; } .top-bun { transform: translatey(-5.5px) !important; } .bottom-bun { transform: translatey(5.5px) !important; } } ec25 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
ec25 Posted November 6, 2023 Author Share Posted November 6, 2023 11 hours ago, tuanphan said: Add this code to Website > Website Tools (under Not Linked) > Custom CSS body:not(.header--menu-open) { div.burger-inner>div { width: 70% !important; } .top-bun { transform: translatey(-5.5px) !important; } .bottom-bun { transform: translatey(5.5px) !important; } } Thank you so much! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment