Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi all,
My theme is Dawn.
I would like to move the sale tag to the top of the price (red line) and the tax-included-tag to the right of the price. (blue line)
Could anyone help with this?
Thank you!
The website is:
https://hobot-japan.com/products/hobot2s
Solved! Go to the solution
This is an accepted solution.
This is PageFly - Advanced Page Builder. I would love to give you some recommendations
Add this css at the bottom
Online Store->Theme->Edit code
assets->component-price.css
.price--large {
display: flex;
flex-direction: column-reverse;
}
.price--on-sale .price__badge-sale {
width: 16%;
}
Hope you find my answer helpful!
Regards,
PageFly
This is an accepted solution.
This is PageFly - Advanced Page Builder. I would love to give you some recommendations
Add this css at the bottom
Online Store->Theme->Edit code
assets->component-price.css
.price--large {
display: flex;
flex-direction: column-reverse;
}
.price--on-sale .price__badge-sale {
width: 16%;
}
Hope you find my answer helpful!
Regards,
PageFly
Thank you for your solution! The sale tag has just moved to the correct position!
What about the tag in blue circle?
ok now try with this code
Add this css at the bottom
Online Store->Theme->Edit code
1. assets->section-main-product.css
.no-js-hidden {
display: inline-block;
}
.product__tax {
display: inline-block;
}
2. assets->component-price.css
.price--on-sale .price__badge-sale {
display: block;
width: fit-content !important;
}
Thank you so much! They all worked!
The photos on each product page suddenly can't be seen only in the computer after coding. Do you know how to fix them?
Thank you for message. Unfortunately this worked but made the images on each products disappear. Do you know other solutions?
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By 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, 2024