Shopify themes, liquid, logos, and UX
I want to do these changes.
1. Remove the extra spaces between the texts in collection tile in both mobile and web. (especially Mobile)
2. The Sale price need to be by the compare at price towards the right in a single line and it should be bold and i should be able to change it's color and size.
3. They should be left alligned
Solved! Go to the solution
This is an accepted solution.
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.
.price.price--on-sale .price__container .price__sale span.price-item.price-item--sale.price-item--last {
font-weight: bold !important;
color: red !important;
font-size: 20px !important;
}
.price.price--on-sale .price__container .price__sale {
flex-direction: row !important;
}
h3.card__heading {
margin-bottom: 0 !important;
}
.card__information {
padding-block: 0 !important;
}
@media screen and (max-width: 768px){
.card__content {
padding-block: 2px !important;
}
}
If my reply is helpful, kindly click like and mark it as an accepted solution.
If you are happy with my help, you can help me buy a COFFEE
Thanks!
Hi @Soiled , kindly provide your store URL please and if it is password protected, please share the password as well. Thanks
This is an accepted solution.
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.
.price.price--on-sale .price__container .price__sale span.price-item.price-item--sale.price-item--last {
font-weight: bold !important;
color: red !important;
font-size: 20px !important;
}
.price.price--on-sale .price__container .price__sale {
flex-direction: row !important;
}
h3.card__heading {
margin-bottom: 0 !important;
}
.card__information {
padding-block: 0 !important;
}
@media screen and (max-width: 768px){
.card__content {
padding-block: 2px !important;
}
}
If my reply is helpful, kindly click like and mark it as an accepted solution.
If you are happy with my help, you can help me buy a COFFEE
Thanks!
Where can i find theme.css
Hi @Soiled ,
You can follow the steps here:
Step 1: Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
Step 2: From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/ypQ7nly2wv27
Step 3: Copy the code below and paste it there
Here is the code for step 3:
.price.price--on-sale .price__container .price__sale {
flex-direction: row !important;
}
h3.card__heading {
margin-bottom: 0 !important;
}
.card__information {
padding-block: 0 !important;
}
@media screen and (max-width: 768px){
.card__content {
padding-block: 2px !important;
}
}
Here is the result:
Also, here are additional CSS code that you can add to change size/ color/bold the Price:
.price.price--on-sale .price__container .price__sale span.price-item.price-item--sale.price-item--last {
font-weight: bold !important;
color: red !important;
font-size: 20px !important;
}
Here is the result:
Let me know if it works!
Best,
Daisy
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024