Liquid, JavaScript, themes, sales channels
Hi all,
I would like to remove the customer account log in from the mobile view only and have the header moved to the center between cart/ bag and the 3 bars.
Can anyone assist?
Solved! Go to the solution
This is an accepted solution.
hello @Katherine94
please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file.
@media only screen and (max-width: 749px){
.site-header .grid .grid__item .site-header__icons-wrapper a.site-header__icon.site-header__account {
display: none!important;
}
}
Hello There,
Please share your store URL and password.
So that I will check and let you know the exact solution here.
Hello There,
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset >theme.scss.css and paste this at the bottom of the file:
@media only screen and (max-width: 749px){
a.site-header__icon.site-header__account {
display: none!important;
}
}
And logo center need for html structure changes.
Hi, Thanks for the code, however I cannot locate Asset >theme.scss.css.
It doesn't show up only Asset > theme.scss.liquid does. ?
Hello There,
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset >theme.scss.liquid and paste this at the bottom of the file:
@media only screen and (max-width: 749px){
a.site-header__icon.site-header__account {
display: none!important;
}
}
This is an accepted solution.
hello @Katherine94
please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file.
@media only screen and (max-width: 749px){
.site-header .grid .grid__item .site-header__icons-wrapper a.site-header__icon.site-header__account {
display: none!important;
}
}
Awesome, thank you!
How do I move the header to be in line with everything? Between the 3 lines and afterpay symbol?
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024