All things Shopify and commerce
Hi everyone,
I want to add a back button which consists of an arrow and "back to shop" text (aligned side to side) on my product page but i can't seem to find a way to do so. any help?
this is the link to my website
https://f56daa-ac.myshopify.com/products/b-bucket
Hi there,
To add a "Back to Shop" button with an arrow icon next to the text on your product page, you'll need to customize your theme's code.
Here's a simple way to do it:
Add the Button HTML:
<a href="/collections/all" class="back-to-shop">
← Back to Shop
</a>
Style the Button with CSS:
.back-to-shop {
display: inline-flex;
align-items: center;
font-size: 16px;
text-decoration: none;
color: #000; /* Customize the color */
}
.back-to-shop::before {
content: "←";
margin-right: 5px;
}
Let me know if you need further assistance!
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024