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
I am preparing to publish my site, and over several hours I tried to unwrap My Account but failed. Currently after a user logs in, the user icon will be changed to text "My Account", but the two letters were in two lines (see the picture). How can I make it stay in one line and align with the cart? See the picture to understand the problem.
Thank you.
Solved! Go to the solution
This is an accepted solution.
Hi @hawkridgefc
Please add this code to theme.liquid file, after <head> in Online Store > Themes > EDit code
{% if customer %}
<style>
.header__icon--account { width: max-content !important; padding: 8px; }
</style>
{% endif %}
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Here is the screenshot.
Hi @hawkridgefc 👋 Always remember other people.
All people do not have the same specific setup, we cannot see what you see, access what you have access too, or just know what you know.
You must communicate context.
Provide inspectable example URLS, that you confirm are publicly accessible or provide a storefront password.
https://community.shopify.com/c/blog/how-to-get-support-from-the-community/ba-p/1399408
Failure to keep this forefront in mind when seeking free business help DRASTICALLY reduces the chances of getting anything resolved.
*clarified urls
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Ok. Here is the inspect results <a href="/account" class="header__icon header__icon--account link">My Account</a>. After a user logs in, the user icon changed to "My Account", but the two words appear in two lines. How can I unwrap them so that they fit into one line? My website is in preparation at the moment.
A URL, that html is meaningless without the surrounding context of styles,javascript and other elements on a website.
Good luck.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
This is an accepted solution.
Hi @hawkridgefc
Please add this code to theme.liquid file, after <head> in Online Store > Themes > EDit code
{% if customer %}
<style>
.header__icon--account { width: max-content !important; padding: 8px; }
</style>
{% endif %}
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
A follow up question. On a mobile device, the My Account link is too close to the shopping cart on the right side. Can you show me how to move My Account further to the left on a mobile device? I moved it to the left on desktop, but it doesn't change on a mobile device.
Could you share your store link so I can check?
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.