Shopify themes, liquid, logos, and UX
I’m using the Aurora theme for my website. I’m wondering if it’s possible to replace icons with 'Search', 'Account', 'Cart' text on my website header? Then, on the mobile version I need to keep the icons as is.
Hi, @jh08099
Sure. But it need to add some custom code to the theme. I can help you with it. But I need to access your store If possible.
Thanks, I've just sent you a message!
Hi @jh08099
You can add this code to theme.liquid file, after <head> in Online Store > Themes > Edit code to do that
<style>
@media (min-width: 990px) {
.header__icons-right .header__icon svg { display: none; }
.header__icons-right .header__icon { width: auto; }
.header__icons-right button[data-sidebar-id="SearchSidebar"]:after {
content: 'Search';
}
.header__icons-right .header__icon--people { text-decoration: none; }
.header__icons-right .header__icon--people:after { content: 'Account'; }
.header__icons-right button[data-sidebar-id="CartDrawer"]:after { content: 'Cart'; }
}
</style>
- 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.
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