Price Style - by misha - on WordPress WooCommerce support

This topic has 5 replies, 3 voices, and was last updated 3 years, 8 months ago ago by Rose Tyler

  • Avatar: misha
    misha
    Participant
    April 22, 2021 at 17:07

    Здраствуйте,

    Подскажите, возможно как-то изменить стиль цены? Не могу найти это в теме.
    Я попытался это сделать кодом, ну почему-то меняться все цены на страницы. Хотелось изменить только цену товара, а остальные не менять.
    https://prnt.sc/11vo10i
    https://prnt.sc/11vo226

    Спасибо

    4 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 23, 2021 at 07:52

    Hello,

    Yes, custom CSS code can be used. Please provide a URL and describe in more detail the desired result.

    Regards

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 23, 2021 at 08:38

    Hello,

    Find the following custom code

    .single-product .et_product-block del, .product-content .price del {
        font-size: 16px;
        color: #B5B5B5;
        font-weight: bold;
        margin-top: 5px;
        margin-left: 10px;
    }

    and replace with

    .single-product .et_product-block .product_title + .price > del, .product-content .price del {
        font-size: 16px;
        color: #B5B5B5;
        font-weight: bold;
        margin-top: 5px;
        margin-left: 10px;
    }

    Regards

    Avatar: misha
    misha
    Participant
    April 23, 2021 at 16:45

    Вы великолепны! Это то что надо. Спасибо большое!

    С уважением

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 24, 2021 at 06:56

    Hello,

    You’re welcome!

    Regards

  • Viewing 5 results - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.