Shopify themes, liquid, logos, and UX
Hello. I want to display these type of headings in my store
Thanks
Hi @Old_money,
You can place the following HTML code in your Shopify theme where you want the heading to appear (in template file)
<div class="shop-the-look-heading">
<span></span> <h2>SHOP THE LOOK</h2> <span></span>
</div>
CSS
.shop-the-look-heading {
display: flex;
align-items: center;
justify-content: center;
margin: 20px 0;
}
.shop-the-look-heading h2 {
font-family: 'Playfair Display', serif; /* Change this to Avenir Next or your desired font */
font-size: 36px;
font-weight: bold;
letter-spacing: 1px;
text-transform: uppercase;
padding: 0 20px;
margin: 0;
}
.shop-the-look-heading span {
flex-grow: 1;
height: 1px;
background-color: black;
margin: 0 10px;
position: relative;
}
.shop-the-look-heading span:before,
.shop-the-look-heading span:after {
content: '';
width: 6px;
height: 6px;
background-color: black;
position: absolute;
top: 50%;
transform: translateY(-50%);
border-radius: 50%;
}
.shop-the-look-heading span:before {
left: -10px;
}
.shop-the-look-heading span:after {
right: -10px;
}
I hope this helps! If it does, please like it and mark it as a solution!
If you need further assistance, feel free to reach out!
Regards,
Sweans
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025