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
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024