Liquid, JavaScript, themes, sales channels
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
User | RANK |
---|---|
33 | |
25 | |
17 | |
9 | |
9 |
Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023Summary of EventsBeginning in January of 2023, some merchants reported seeing a large amo...
By Trevor May 15, 2023With 2-Factor Authentication being required to use Shopify Payments, we’re here to help yo...
By Imogen Apr 26, 2023