Jump to content

Customise Top Menu with customer burger and cart

Recommended Posts

Site URL: https://www.hastingscity.co.nz/

Hello,

We currently have a customer burger menu via CSS and we want to add the Cart Icon to the top menu, so it sits to the left of the burger and shows at all times.

When I select to add this under Site Header, it doesn't actually show anywhere and the burger moves the the left of the screen, by our logo, and we can no longer close the burger menu (the exit 'X') disappears and the cart still doesn't show.

Any help would be appreciated.

Thanks,

Emma

Link to comment
  • Replies 4
  • Views 734
  • Created
  • Last Reply

Top Posters In This Topic

3 hours ago, emma_HCBA said:

Site URL: https://www.hastingscity.co.nz/

Hello,

We currently have a customer burger menu via CSS and we want to add the Cart Icon to the top menu, so it sits to the left of the burger and shows at all times.

When I select to add this under Site Header, it doesn't actually show anywhere and the burger moves the the left of the screen, by our logo, and we can no longer close the burger menu (the exit 'X') disappears and the cart still doesn't show.

Any help would be appreciated.

Thanks,

Emma

Currently, cart is hidden by this code

image.thumb.png.41e2134d55d0aefa30c37d1699249060.png

Kindly check it again

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

Hi there, 

thank you - I don't currently have it enabled because otherwise the burger moves the left-hand side of the screen and the menu won't allow anyone to close it.  And the cart still doesn't show.  See images below showing what happens when card is turned on.

Copy of burger menu coding is below:

@media screen and (min-width:950px) {.header-nav, .header-actions { display: none!important} .header-burger { display: flex!important;} .header--menu-open .header-menu {opacity: 1; visibility: visible; width: 35%; margin-left:70%} .header-menu .header-menu-nav a {font-size:1.25rem; line-height: 0px! important; padding: .0rem}}
.header--menu-open .header-menu {box-shadow: 5px 5px 15px rgba(0,0,0,0.25) }
@media screen and (min-width:950px) {.header-menu-nav-folder-content * {text-align: right !important;}.header-menu-bg.theme-bg--primary {background: #f12064 !important;}.header-menu-nav-folder-content * {color: white !important;}}
.header-menu-nav-item a {
    padding-top: 1vw;
    padding-bottom:1vw;
}
.header-menu-nav-folder[data-folder="root"] {
    overflow: auto;
}
/* Colour of Hamburger Button */
.burger-inner > div {
background-color: white !important;
}
/* Mobile Navigation Formatting */
.header-menu-bg {background: #f12064!important;}
.header-menu-nav {text-align: left!important; margin-left: 5%!important;}
.header-menu-nav-item > a {color: white!important;}
.header-menu-nav a {font-size:1.25rem; padding: .5rem;}

 

screen1.PNG

screen2.PNG

Link to comment
  • 4 months later...

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.