cancel
Showing results for 
Search instead for 
Did you mean: 

css selector question

SOLVED

css selector question

Hi all

Bit of a css question if I may

I'm trying to override some css for the product prices excl and incl tax

I need both prices to be bold with the excl Tax a smaller font size than the Incl Tax price.

I don't want to excl and incl labels to be bold.

Can anyone help with the selectors please?

excluding.jpgincluding.jpg

1 ACCEPTED SOLUTION

Accepted Solutions

Re: css selector question

Helllo @Andy_Acute 

 

you can use

 

.price-exluding-tax .price { font-size:10px !important;}

.price-including-tax .price { font-size:12px !important;}


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

View solution in original post

1 REPLY 1

Re: css selector question

Helllo @Andy_Acute 

 

you can use

 

.price-exluding-tax .price { font-size:10px !important;}

.price-including-tax .price { font-size:12px !important;}


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer