nwmodernshop Posted June 28, 2022 Posted June 28, 2022 Site URL: https://www.nw-modern.com Hey everyone - brand new to this and working on a website for someone else. I am seeking the complete code to have my dropdown menu have the hamburger menu instead of "menu" as a title. I learned how to code using R and RStudio years ago, but I'm unfamiliar with CSS. If someone could provide a full script, I'd appreciate it! Thank you!
tuanphan Posted June 30, 2022 Posted June 30, 2022 Hi. You want to change "menu" text to a burger icon? Add to Design > Custom CSS a.header-nav-folder-title:before { content: "\e030"; visibility: visible; font-family: 'squarespace-ui-font'; font-size: 30px; } a.header-nav-folder-title { visibility: hidden; } 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!)
kaydotjpg Posted September 16, 2022 Posted September 16, 2022 @tuanphan I just used your code above and it worked great. Is there a way to customize color and weight of the icon? Thanks
tuanphan Posted September 18, 2022 Posted September 18, 2022 On 9/17/2022 at 4:05 AM, kaydotjpg said: @tuanphan I just used your code above and it worked great. Is there a way to customize color and weight of the icon? Thanks Just add color/font-weight a.header-nav-folder-title:before { content: "\e030"; visibility: visible; font-family: 'squarespace-ui-font'; font-size: 30px; color: red; font-weight: bold; } 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!)
kaydotjpg Posted September 20, 2022 Posted September 20, 2022 (edited) thank you @tuanphan! Another question, the hamburger menu is showing up closer to the center than I'd like. Is there a way to scoot the hamburger menu more to the right, without having the drop down menu cut off? Edited September 20, 2022 by kaydotjpg
tuanphan Posted September 20, 2022 Posted September 20, 2022 11 hours ago, kaydotjpg said: thank you @tuanphan! Another question, the hamburger menu is showing up closer to the center than I'd like. Is there a way to scoot the hamburger menu more to the right, without having the drop down menu cut off? What is your site? Above site, burger is fine 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!)
kaydotjpg Posted September 21, 2022 Posted September 21, 2022 @tuanphan site: https://lute-accordion-9chb.squarespace.com/ password is: hello I would like the burger icon to be closer to the right hand side
tuanphan Posted September 23, 2022 Posted September 23, 2022 On 9/21/2022 at 7:55 PM, kaydotjpg said: @tuanphan site: https://lute-accordion-9chb.squarespace.com/ password is: hello I would like the burger icon to be closer to the right hand side The site url doesn't exist. Can you check it again? 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!)
kaydotjpg Posted September 23, 2022 Posted September 23, 2022 @tuanphan sorry about that! website: contrabass-mayflower-5yeb.squarespace.com password: isle
tuanphan Posted September 24, 2022 Posted September 24, 2022 12 hours ago, kaydotjpg said: @tuanphan sorry about that! website: contrabass-mayflower-5yeb.squarespace.com password: isle Edit :before to :after in this code a.header-nav-folder-title:before { content: "\e030"; visibility: visible; font-family: 'squarespace-ui-font'; font-size: 50px; color: #000; font-weight: thin; } (also, font-weight: thin; doesnt exist, try change thin to number 300) 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment