rhondahymason Posted May 16 Share Posted May 16 Hello, I'm on Squarespace 7.0 and would like to replace the hamburger icon in mobile view with the text "Menu". I tried the code below but even though it hides the hamburger icon, no text appears. /*Swaps hamburger for the text MENU and adjusts gap above the word MENU*/ button.Mobile-bar-menu { visibility: hidden; margin-top: -5px !important; } button.Mobile-bar-menu:after { visibility: visible; content: ‘Menu’; font-family: ‘eb garamond’ !important; font-weight: 400 !important; font-style: italic; color: hsl(0, 0%, 10%); font-size: 18px; padding-left: 3px; } The password to view my site is: a Any help appreciated. Thank you, Rhonda Beyondspace 1 Link to comment
Beyondspace Posted May 16 Share Posted May 16 1 hour ago, rhondahymason said: Hello, I'm on Squarespace 7.0 and would like to replace the hamburger icon in mobile view with the text "Menu". I tried the code below but even though it hides the hamburger icon, no text appears. /*Swaps hamburger for the text MENU and adjusts gap above the word MENU*/ button.Mobile-bar-menu { visibility: hidden; margin-top: -5px !important; } button.Mobile-bar-menu:after { visibility: visible; content: ‘Menu’; font-family: ‘eb garamond’ !important; font-weight: 400 !important; font-style: italic; color: hsl(0, 0%, 10%); font-size: 18px; padding-left: 3px; } The password to view my site is: a Any help appreciated. Thank you, Rhonda We can help checking the code if you can share your site URL? 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
rhondahymason Posted May 16 Author Share Posted May 16 @Beyondspace Thanks! URL is https://masonandco.squarespace.com/ Password: a Link to comment
rhondahymason Posted May 18 Author Share Posted May 18 @Beyondspace All good, I figured it out. Needed to use double quotation marks for "Menu" rather than single quotation marks. 🙂 Link to comment
Solution paul2009 Posted May 18 Solution Share Posted May 18 (edited) 11 hours ago, rhondahymason said: All good, I figured it out. Needed to use double quotation marks for "Menu" rather than single quotation marks. If it helps you for next time, the problem was caused by the use of "smart" single quotation marks - the angled type. If you use the basic vertical type, you can use single or double quotation marks 🙂. These are OK: " ' These aren't OK: “ ’ Edited May 18 by paul2009 About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
rhondahymason Posted June 2 Author Share Posted June 2 On 5/19/2023 at 1:57 AM, paul2009 said: If it helps you for next time, the problem was caused by the use of "smart" single quotation marks - the angled type. If you use the basic vertical type, you can use single or double quotation marks 🙂. These are OK: " ' These aren't OK: “ ’ Thank you!!! That is sooo helpful to know. 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