Shopify themes, liquid, logos, and UX
Hi,
I need to move the wishlist button up to below the add to cart, also the heart in header to the right and get rid of the # symbols showing how many in wishlist.
my site is
Hi @Luxurymrkt
You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file base.css and add this code at the end of the file
a.wk-button.wk-align-center.wk-align-content-center {
margin-left: 20px !important;
}
Result
Best,
Liz
Hi @Luxurymrkt
Regarding the relocation of the "Add to Wishlist" button, it requires modifications in the Liquid file. You should contact the theme developer to resolve this issue.
Hi @Luxurymrkt
You can try to add this code to your theme.liquid file, above </body> tag and check again.
<script>
// Wait for the DOM to load
document.addEventListener('DOMContentLoaded', function () {
// Select the element to be moved
const wishlistBlock = document.getElementById('shopify-block-AdHRvRTUyQktETkZlZ__swish_formerly_wishlist_king_wishlist_button_block_bDAGxW');
// Select the button element
const cartSubmitButton = document.querySelector('.product-form__cart-submit.javascript');
// Ensure both elements exist
if (wishlistBlock && cartSubmitButton) {
// Move the wishlist block below the button
cartSubmitButton.parentNode.insertBefore(wishlistBlock, cartSubmitButton.nextSibling);
}
});
</script>
<style>
@media (max-width: 400px) {
html wishlist-link .wk-button {
left: -240px;
}
}
</style>
- Found this helpful? Hit "Like" and "Accept as Solution"!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify
Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
Hi @Luxurymrkt
Moving the wishlist button requires modifying the theme code, not just adjusting the CSS. You'll need a developer to properly reposition it.
@media screen and (max-width: 768px) {
a.header__icon-touch wishlist-link wk-button.notranslate > a.wk-button {
margin-left: 15px !important;
}
}
You can add the code above to CSS. This will shift the wishlist heart icon slightly to the right on mobile devices
I hope this helps
Best,
Daisy
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025