• Id like the custom price labels to conform with the default woocommerce prices..

    the default for woocommerce is

    font-weight: 700;
    font-size: 16px;

    But the custom price lables show
    font-weight: 400;
    font-size: .857em;

    I tried the following code in custom css but it doesnt seem to be working.

    div.price-cart
    {
    font-weight: 700;
    font-size: 16px;}

    Help please?
    Thanks

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    Please try this:

    p.price{
    font-weight: 700; 
    font-size: 16px;
    }

    and let me know if that works for you. Don’t forget to enable the module “Custom CSS” and use the above code in frontend text field.

    Thread Starter ezzmay007

    (@ezzmay007)

    No sorry it didnt work, no change after purging all caches either…
    i also tried this is my themes custom css, and no go there either

    any other ideas? thanks

    Hi,

    Please try <font weight="700" size="16">Custom label</font> directly in the custom label text input field. The previous css code should be applied to custom labels in the product screen directly but not in the product list.

    Thread Starter ezzmay007

    (@ezzmay007)

    this also did not work, and would be a terrible solution anyways as it would mean editing heaps of posts

    Hi,

    I just checked and the price label and original price styles should be the same. Can you also try the

    p.price{
    font-weight: 700; 
    font-size: 16px;
    }

    css code and see if it changes the formatting of the price label not in the product list but in the product page itself with a different theme? I’m asking this because you also have other issues with your current theme.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Css code to change custom price labels’ is closed to new replies.