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
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By 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, 2024