Setting woocommerce price colour in Oceanwp Childtheme

Hi @shalice1218,

Try this instead to see if it helps:
/* woocommerce-Price-amount*/ .woocommerce ul.products li.product .price .amount{ color: #FF0262; }

Jean

Where are you entering this CSS code? Looks like your theme’s custom-style.css? If jean17’s suggestion still does not work there, try using the Additional CSS customizer section instead. Code there has greater precedence.

The code doesn’t work @jean17

I can’t find additional CSS from my customize. Only Custom CSS is available.

Appearance -> Customize

  • This reply was modified 1 hour, 25 minutes ago by shalice1218.

I solved with this solution:

I downloaded the Jetpack plugin then additional CSS was added to my customize.

Then I select:

DON’T USE THE THEME’S ORIGINAL CSS.

Now everything works.

I came up with the idea when @bcworkz reminded me of this. Earlier when I tried to activate the additional css, Jetpack was added automatically, and the code runs well on my site at that time. I thought It went wrong after the Child theme upgraded, but actually it was caused by my deactivation of the pluin.

Thank you for support @jean17 @bcworkz, I will close this topic and mark it as resolved.

I’m glad it worked out well.
Have a good day.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer