Hi all,
How do I add text beside a products price? I want it to say this:
(INSERT PRICE) DONATION
Here is a link to one of my products. This will give you an idea of what I mean.
https://www.pennsylvaniaparks.org/products/ppf-unisex-classic-t-shirt-1
I also would like to make the price and the word donation larger and bold.
I would like to thank everyone in advance for any help your able to provide.
Thanks!
@Justin34
Add this css in base.css
.product .price-item--regular::after {
content: 'DONATION';
font-weight: 600;
}
1 Like
Hi Guleria⌠Thanks so much! That worked perfectly. Is there anyway to make the price bold too?
Add this css
.product .price-item--regular {
font-weight: 600;
}
1 Like
Perfect! Thanks so much!!!
One last question.
If you go to this page:
https://www.pennsylvaniaparks.org/collections/drinkware
You will see under the price it says âShipping Includedâ Do you by chance know how do I remove that? I added that long time ago but cant remember how.
Thanks again!
Edit component-card.css under Assets and remove this css
.card-information .price:after {
content: 'SHIPPING INCLUDED';
display: block;
font-size: 12px;
}
1 Like
Youâre a genius!! Thanks so much bud!
@Guleria
Could you please assist me too?
https://powerhome.co.za/
I want to add text next to the price on my home page for the featured products.
For example - " free delivery" + " year year warranty"
Thank you
@powerH64
Add this css in product-items.css
.section-featured-collection .price::after {
content: ' free delivery year year + 2 warranty';
right: 10%;
position: absolute;
}
Thanks
anywhere in particular should I add it ( top or bottom)?>