Okay
  Public Ticket #1404098
custom class
Closed

Comments

  • 6rhill started the conversation

    Hi there,

    I'm trying to change the class: .out of stock on the theme Kalium, to add a color when, there's more stock?

    I try to modify this class .stock .out-of-stock but nothing changes.


    Thanks

    Cyril

  • [deleted] replied

    Hi 6rhill,

    Those changes can be done easily if you try to put the block of code blow in Custom CSS section. Please before you continue with further steps consider reading the article How to Add Custom CSS to your site.

    .woocommerce .product .onsale.oos {
        font-size: 14px !important;
        background: #222 !important;
        line-height: 1.4 !important;
        padding-top: 12px !important;
    }


    (view large version)

    Thank you.

  • 6rhill replied

    Hi Eroll

    Thank you for your answer, but I spoke about the one located on the product sheet see attachment. Thank you again for your help

  • 6rhill replied

    Hi Eroll

    Thank you for your answer, but I spoke about the one located on the product sheet see attachment. Thank you again for your help

  • [deleted] replied

    Hi

    Please try the code below to se if it helps you:

    .woocommerce .item-info p.stock.out-of-stock{
        color: #333 !important;
        background: #e2e2e2 !important
    }

    If you still have issue please consider sharing the WP Credentials with us and article so we could investigate the situation from close view. Your information is safe (private) in this thread.

    To include your credentials click Insert Credentials button in editor toolbar. (See how)

    Thank you.