All things Shopify and commerce
Need help to set the missing login icon on mobile view for Shopify Theme > Stockmart. Referred to the past discussion and tried some of the guided code fix but none works for the theme. Anyone can help?
My website is www.mobilecablestore.com
Greatly appreciated. Thank you!
Solved! Go to the solution
This is an accepted solution.
Go to your Online store > Themes > Edit code > open base.css file, add this code at the bottom of your file and save
.header__account {
display: inline-flex !important;
}
- Helpful? Like and Accept solution!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
This is an accepted solution.
Awesome. Anything else I can assist you with?
- Helpful? Like and Accept solution!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Hi @DavidLeong ,
I reviewed the site and found that the login icon/button is currently inside hamburger menu. I also reviewed the theme and found that this this doesnot provide login icon on the header of mobile version.
If you want to add the icon on the top menu, you will have to custom code on the template files.
If you require further help to optimize your store, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
Makka
Yes, would need further help to optimize this function. Kindly assist. Thank you
This is an accepted solution.
Go to your Online store > Themes > Edit code > open base.css file, add this code at the bottom of your file and save
.header__account {
display: inline-flex !important;
}
- Helpful? Like and Accept solution!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Aha, it works! Tqvm! Have a good day ahead! Cheers!
You are always welcome. @DavidLeong
- Helpful? Like and Accept solution!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Possible to help further. Upon adding this, the header icon on Home page and other pages are no longer center aligned. Anything that I can do further to fix this?
Hi @DavidLeong
Please add this code to check
@media screen and (max-width: 767px) {
.header__top-inner h1.header__heading, .header__top-inner .header__heading-link {
margin: 0 auto !important;
}
}
- Helpful? Like and Accept solution!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
It is still not center, i think it is measuring the center in between hamburger and the login icon
I tried using this code below: but it seems to work only on Home Page and not the other pages
@media screen and (max-width: 767px){
h1.header__heading, .header__heading-link {
margin-left: 13px !important;
}
}
Update your code to this
@media screen and (max-width: 767px){
h1.header__heading, .header__heading-link, .header__top-inner .header__heading-link {
margin-left: 13px !important;
}
}
- Helpful? Like and Accept solution!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
i am sorry, i am still encountering the same. It works good and center aligned for Home Page only. Once i clicked into other pages, it is slightly aligned to the left.
Your code is applied but it cannot make logo in center
Please remove your code to make it appear in center
- Helpful? Like and Accept solution!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
If i remove the code, the center alignment will be in between the hamburger and the login icon.
It is not center alignment in between the page width.
Try to update code to this and check again
@media screen and (max-width: 767px){
.header__top-inner h1.header__heading, .header__heading-link, .header__top-inner .header__heading-link {
margin-right: -12px !important;
}
}
- Helpful? Like and Accept solution!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
It works now! tqvm but i need to put 0px instead
@media screen and (max-width: 767px){
.header__top-inner h1.header__heading, .header__heading-link, .header__top-inner .header__heading-link {
margin-right: -0px !important;
}
}
This is an accepted solution.
Awesome. Anything else I can assist you with?
- Helpful? Like and Accept solution!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Hi @DavidLeong ,
This is Theodore from PageFly - Shopify Page Builder App.
For solving the problem about the Login Icon Missing On Mobile View Shopify, let’s try this solution:
Online Store ->Theme ->Edit code->theme.liquid
<style>
.header__account {
display: inline-flex !important;
}
</style>
I’ll be so happy if my suggestion can help to solve your problem. If you have any further questions, please feel free to tell me.
Best regards,
Theodore | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024