Laluma Posted November 15, 2022 Share Posted November 15, 2022 http://laluma.squarespace.com Hey people! I have a custom code injected to my website to have a burger menu on desktop version. I would like to style the font on that custom menu. How is that possible? What I have is less vertical spacing between the links a bigger font size. This is the CSS I'm using for the burger menu (found here on the forum and works well): /* 768 for tablet - desktop - 992 for desktop */ @media screen and (min-width:992px) { /* hide navigation */ .header-nav { display: none; } /* Hide header button */ .header-actions { position: absolute; right: 80px; } /* show burger */ .header-burger { display: flex; position: absolute; right: 10px; } /* Show overlay mobile menu */ .header--menu-open .header-menu { opacity: 1; visibility: visible; } } Thanks for helping out! Link to comment
Solution Beyondspace Posted November 15, 2022 Solution Share Posted November 15, 2022 2 hours ago, Laluma said: http://laluma.squarespace.com Hey people! I have a custom code injected to my website to have a burger menu on desktop version. I would like to style the font on that custom menu. How is that possible? What I have is less vertical spacing between the links a bigger font size. This is the CSS I'm using for the burger menu (found here on the forum and works well): /* 768 for tablet - desktop - 992 for desktop */ @media screen and (min-width:992px) { /* hide navigation */ .header-nav { display: none; } /* Hide header button */ .header-actions { position: absolute; right: 80px; } /* show burger */ .header-burger { display: flex; position: absolute; right: 10px; } /* Show overlay mobile menu */ .header--menu-open .header-menu { opacity: 1; visibility: visible; } } Thanks for helping out! Try adding to Home > Design > Custom Css .header-menu-nav-folder-content .header-menu-nav-item-content { font-family: arial; } Choose the custom font you want to apply Support me by pressing 👍 or marking as solution if this useful for you tuanphan and Laluma 2 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! 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