Jump to content

Mobile Menu

Recommended Posts

Site URL: https://www.cahierdimages.com/

Hello,

Few custom css questions for my website www.cahierdimages.com:

1. on mobile version, I would like to align left the "+" icon (I've changed the padding in header but it affects desktop version as well)
2. again only on mobile version, I would like to change the top padding for the logo
3. changing cart icon to text or another svg
4. mobile menu aligned to bottom left

thank you !!!

Screenshot 2021-03-15 at 14.47.22.png

Screenshot 2021-03-15 at 15.40.35.png

Link to comment
  • Replies 3
  • Views 737
  • Created
  • Last Reply

Hi,

Add to Design > Custom CSS

.header-burger.no-actions {
    left: -2vw;
    position: relative;
}
.header-title-logo img {
    position: relative;
    top: -10px;
}
/* Cart custom image */
.header .header-actions-action--cart .icon {
    background-image: url(https://beaverhero.com/wp-content/uploads/2019/06/trees-3464777_640-min.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
svg.icon.icon--cart {
    visibility: hidden;
}
/* Cart icon width */
.header .header-actions-action--cart .icon {
    width: 50px;
    height: 50px;
}
.header-menu-nav-folder-content {
    justify-content: flex-end;
}
.header-menu-nav-folder-content * {
    text-align: left;
}

 

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!)

Link to comment
  • 4 weeks later...

Hi

thanks so much (just saw your message).

I added this part only because the cart icon was a bit weird.

.header-burger.no-actions {
    left: -2vw;
    position: relative;
}
.header-title-logo img {
    position: relative;
    top: +3px;
}

.header-menu-nav-folder-content {
    justify-content: flex-end;
}
.header-menu-nav-folder-content * {
    text-align: left;
}

 

Is it possible to change the card icon ?

.header-burger.no-actions is not super aligned, I ve played around with the number but does not find the right one that fits for all phone sizes.

And I added  margin-bottom:40px to .header-menu-nav-folder-content ... it's working fine.

Thanks again

Link to comment
22 hours ago, knpr said:

Hi

thanks so much (just saw your message).

I added this part only because the cart icon was a bit weird.

.header-burger.no-actions {
    left: -2vw;
    position: relative;
}
.header-title-logo img {
    position: relative;
    top: +3px;
}

.header-menu-nav-folder-content {
    justify-content: flex-end;
}
.header-menu-nav-folder-content * {
    text-align: left;
}

 

Is it possible to change the card icon ?

.header-burger.no-actions is not super aligned, I ve played around with the number but does not find the right one that fits for all phone sizes.

And I added  margin-bottom:40px to .header-menu-nav-folder-content ... it's working fine.

Thanks again

Add to Design > Custom CSS

/* Cart custom image */
.header .header-actions-action--cart .icon {
    background-image: url(https://beaverhero.com/wp-content/uploads/2019/06/trees-3464777_640-min.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
svg.icon.icon--cart {
    visibility: hidden;
}

 

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!)

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • 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.