Jump to content

Move hamburger icon? 7.1

Recommended Posts

Posted

@tuanphan

 

Hi,

Is it possible to make the layout look like this? (not the red guidelines)...

(Swap position of cart and burger, reduce cart size, space between them, 3 lines in burger)

 

619677276_Cartmob.thumb.jpg.1771ad0b24a376005809b8d59b0dc43a.jpg

 

Mobile version:

1177391348_Cartmob.jpg.2ab06029652f1a7ccf562b1b16725c7a.jpg

Posted

Hi

Follow to the code @tuanphan
Use this code in Design -> Custom CSS

.header-burger {
    order: 3 !important;
}
.header-actions.header-actions--right {
    order: 2 !important;
}

.header-actions--right .showOnDesktop {
    margin-right: 20px;
}


.header-display-mobile .showOnMobile{margin-right: -40px !important;}

Please use the like button if it helps you!

Best,
Leopold

Ninja Kit Extension: Upgrade your Squarespace website without coding.

YouTube Preview    -    FREE DOWNLOAD

Posted

Fantastic thanks so much!

 

I almost got it right correcting the mobile version - but still have problems moving the cart number...

 

//HAMBURGER ALIGNMENT - MOBILE//
@media screen and (max-width:767px) {
.header-announcement-bar-wrapper {
    padding-right: 4vw !important;
}
.header .header-actions-action--cart .icon {
    height: 20px;
    width: 20px;
  padding-left: 5vw !important;
}
  .Cart-inner .icon-cart-quantity {
    font-size: 8px !important;
  padding-left: 5vw !important;
  }}

 

679240262_ScreenShot2020-09-11at9_48_17pm.png.d5b885be72ab5955306dd0f923a1266c.png

Posted

Use this code in Design -> Custom CSS

@media screen and (max-width:460px) {
.Cart-inner .icon-cart-quantity {
    margin-right: -15px !important;
}
}

Sorry you need web customization service to solve like these design-code bugs. If like to continue please contact me via DM or Skype: LeopoldJobs.

Best,
Leopold

Ninja Kit Extension: Upgrade your Squarespace website without coding.

YouTube Preview    -    FREE DOWNLOAD

  • 1 year later...
Posted (edited)

Hi there!  I am on 7.1 and used the code below to remove the hamburger menu from my mobile site - however, the cart is still in the same place.

.burger-box {
    display: none;

Is there code I can use to push the cart over to the right top corner? Thank you!

image.png.736b462e6b91539ad0ba9407f754d0a6.png

Edited by kelseydobs
Posted
On 4/6/2022 at 7:11 AM, kelseydobs said:

Hi there!  I am on 7.1 and used the code below to remove the hamburger menu from my mobile site - however, the cart is still in the same place.

.burger-box {
    display: none;

Is there code I can use to push the cart over to the right top corner? Thank you!

image.png.736b462e6b91539ad0ba9407f754d0a6.png

What is your site url? We can check easier

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.