knpr Posted March 15, 2021 Share Posted March 15, 2021 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 !!! Link to comment
tuanphan Posted March 23, 2021 Share Posted March 23, 2021 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
knpr Posted April 20, 2021 Author Share Posted April 20, 2021 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
tuanphan Posted April 21, 2021 Share Posted April 21, 2021 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.