ResolvedChange Colour for Prices in Woocommerce Products

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #16906
    trinityway3
    Participant

    Hello.

    How do I change the colour for the prices on the woocommerce products (See image: https://prnt.sc/o2j0dv).

    Thanks in advance!

    #16909
    Althemist
    Keymaster

    Hi trinityway3,

    the product prices are using the main accent color set in Theme Options > Common Colors.

    If you need to use another color, the only option would be with custom CSS.

    Regards,
    Dimitar

    #16918
    trinityway3
    Participant

    Ok. I understand. When I change the common color, some other things also change color. If I only want to change the color for the pricing, where in the CSS code can I do that? Thanks in advance!

    #16932
    Althemist
    Keymaster

    As I already explained in previous topic, the best place to add custom CSS (not edit the original) is in the child theme’s style.css OR in the customizer > additional CSS field.

    The class to alter is this one:

    .prod_hold .price_hold {
    color: #your-color !important;
    }

    Regards,
    Dimitar

    #16942
    trinityway3
    Participant

    Ok. So if I add
    `
    .prod_hold .price_hold {
    color: #your-color !important;
    }

    I will add it in customizer > additional CSS field. Is that right? Also another question, If I have put Images and changed text and more in the original theme file and not the child theme, can I install the child theme without losing the changes I have made?

    #16944
    Althemist
    Keymaster

    Yes, you can activate the child theme. Nothing will be lost.

    Just upload the child theme and activate it without deactivating the main theme.

    #16946
    trinityway3
    Participant

    Ok. Perfect. I’ll try to do that and if I need further help, I will let you know. Thank you 🙂

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in and have valid license to reply to this topic.

License required for any item belonging to this account
AlThemist

AlThemist

sales 13297, followers 699
Login and Registration Log in · Register