Jump to content

How to replace hamburger icon in mobile view with the text "Menu"

Go to solution Solved by paul2009,

Recommended Posts

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

Link to comment
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 picker form field)
💫 Gallery block 7.1 workaround
🥳 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
  • Solution
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 by paul2009

About me: I'm Paul. A SQSP User for 18 yrs, I've been a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing 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 free. You can thank me by clicking one of the feedback emojis below. Coffee fuels my work.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

Link to comment
  • 2 weeks later...
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.