rhondahymason Posted May 16, 2023 Share Posted May 16, 2023 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, 2023 Share Posted May 16, 2023 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, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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, 2023 Author Share Posted May 16, 2023 @Beyondspace Thanks! URL is https://masonandco.squarespace.com/ Password: a Link to comment
rhondahymason Posted May 18, 2023 Author Share Posted May 18, 2023 @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, 2023 Solution Share Posted May 18, 2023 (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, 2023 by paul2009 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
rhondahymason Posted June 2, 2023 Author Share Posted June 2, 2023 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