Liquid, JavaScript, themes, sales channels
HI all I'm using Brooklyn Theme and I created a custom button on my home page using custom html,
I want this to link to the collection list page as it a see out collection. I have add the code I used below but the issue is that it leads to all products instead of the collection list page. I have been looking for hours and can seem to find why I am having this problem, can some please help and tell me what I am doing wrong and how to fix it thanks.
<style>
.custom-button-container {
width: 100;
text-align: center;
}
.custom-button {
display: inline-block;
background-color: white;
color: black;
padding: 5px 20px;
font-size: 16px;
font-family: sans-serif;
border: 2px solid #000;
box-shadow: 2px 2px 5px rgba(0,0,0,.5);
}
</style>
<div style="text-align:center"> <a href="collections/all" class="custom-button">SEE OUR COLLECTION</a>
</div>
I fixed it
</style>
<div style="text-align:center"> <a href="collections" class="custom-button">SEE OUR COLLECTION</a>
</div>
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024