Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi every one,
How can I add a non-structured component in the shopify theme i choose,
I need to add a phone number in the top of the website and it has to be prominent.
thank a lot
Irit
Hello @Renaye
You can follow these steps:
1. Go to Online Store->Theme->Edit code
2. Open your theme.liquid file, paste the below code after <body>
<div class="gp-custom-phone">
<a href="tel:0987654321">My Phone 0987654321</a>
</div>
<style>
.gp-custom-phone {
background: #ff0000;
text-align: center;
}
.gp-custom-phone a {
color: #fff;
text-decoration: none;
font-size: 20px;
font-weight: bold;
}
</style>
Result like this
I hope the above is useful to you.
Kind & Best regards,
GemPages Support Team
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