Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
On iPhone at least, the account icon doesn't show up on portrait mode, only on landscape. I need that button to always be present regardless of platform, orientation, screen size, etc.
How to enable that?
Thanks
Solved! Go to the solution
This is an accepted solution.
@media(max-width:600px){
.header__icon, .header__icon--cart .icon {
height: 3.4rem;
width: 3.4rem;
}
}
Hello @empiricalarby,
If you want to display the account button on all screens, please follow these steps:
@media(max-width:749){
.header__icon--account.small-hide{
display:block !important;
}
}
Thanks, but I didn't notice any changes after applying the code
Try this Code
@media(max-width:749px){
.header__icon--account.small-hide{
display:block !important;
}
}
A step in the right direction, here's the remaining issue though.
As you can see the positioning is not quite right. I appreciate your time.
Thanks
Try this Code
@media(max-width:749px){
.header__icon--account.small-hide{
display:flex !important;
}
}
Thanks so much, it's almost perfect. I just need one more piece of code to adjust the distance between the three icons to the right, in portrait mode specifically. I need the icons to be closer together so that the logo will be centered in the header.
@media(max-width:600px){
.header__icon .icon{
height: 1.7rem;
width: 1.7rem;
}
.header__icon--cart .icon{
height: 3.4rem;
width: 3.4rem;
}
}
Hmm, seems like the icons got a tiny bit smaller, but not closer together. Is it possible to make them closer together?
This is an accepted solution.
@media(max-width:600px){
.header__icon, .header__icon--cart .icon {
height: 3.4rem;
width: 3.4rem;
}
}