Shopify themes, liquid, logos, and UX
Can anyone help me with the code for a larger logo in my header section (past 300 px)? And also, it would be great if someone could help me to add a home page icon in my header instead of a button that says Home Page.
@jayne_dough - can you share your webpage link?
Sure. I will be in touch.! Thanks for the tip
@jayne_dough - please add this css to the very end of your base.css file and check,
Shopify Admin -> Online Store ->Theme -> Edit code -> base.css
@media screen and (min-width: 990px) {
.header{grid-template-columns: 1fr 1fr 1fr;}
.header__heading-logo{width: 300px;}
}
Hello @jayne_dough Share ur URL link
Hi @jayne_dough
Could you please share with me your store link?
Best,
Daisy
HI @jayne_dough
1. Change logo size:
.header__heading-logo-wrapper img {
width: 300px;
}
2. Change text to icon
1. Find the file header-mega-menu.liquid https://prnt.sc/m3uiLR-QE1es
2. Add this code like this https://prnt.sc/56nphacAwGMZ
3. Find the icon you want to add and take it URL
4. Add this code and insert URL in the code
<li><a id="HeaderMenu-home-page" href="/" class="header__menu-item list-menu__item link link--text focus-inset" aria-current="page">
-- code icon --
</a></li>
I hope this helps
Best,
Daisy
Hi @jayne_dough
Try this one.
img.header__heading-logo.motion-reduce {
width: 300px;
}
a#HeaderMenu-home-page::before {
content: "\1F3E0";
margin-right: 8px;
font-size: 16px;
}
a#HeaderMenu-home-page span {
display: none;
}
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025