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
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