Line-through - by jeremy - on WordPress WooCommerce support

This topic has 12 replies, 2 voices, and was last updated 8 years ago ago by Rose Tyler

  • Avatar: tlgv
    jeremy
    Participant
    November 21, 2016 at 21:49

    Hello,

    How to change the line-through thickness only on single product page please?

    Thank you.

    11 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 22, 2016 at 08:32

    Hello,

    Please, provide us with link to the page and screenshot for our better understanding what exactly you want to change.

    Regards,
    Rose Tyler.

    Avatar: tlgv
    jeremy
    Participant
    November 22, 2016 at 10:38

    Hello,

    Please find them.

    I want to reduce the height of the line.

    Thank you.

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 22, 2016 at 10:54

    Hello,

    Please, add this code in Custom CSS:

    .single-product .product-information .price del {
        font-size: 29px;
    }

    Regards,
    Rose Tyler.

    Avatar: tlgv
    jeremy
    Participant
    November 22, 2016 at 11:03

    Hello,

    Thank you but I don’t want to change my font size. What is the other way to do it?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 22, 2016 at 11:05

    Hello,

    Try it:

    .single-product del span.woocommerce-Price-amount.amount:before {
        content: '';
        width: 100%;
        height: 1px;
        background-color: #000;
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    .single-product .product-information .price del{
        text-decoration: none;
        position: relative;
    }

    Regards,
    Rose Tyler.

    Avatar: tlgv
    jeremy
    Participant
    November 22, 2016 at 11:11

    The first part doesn’t work. My line is deleted (thanks to the second part) but no new one is created.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 22, 2016 at 11:19

    Hello,

    Please provide us with wp-admin access in Private Content.

    Regards,
    Rose Tyler.

    Avatar: tlgv
    jeremy
    Participant
    November 22, 2016 at 11:51

    Please find.

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 22, 2016 at 13:30

    Hello,

    Fixed. Please check it now.

    Regards,
    Rose Tyler.

    Avatar: tlgv
    jeremy
    Participant
    November 22, 2016 at 14:50

    Perfect, thank you.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 22, 2016 at 15:44

    Hello,

    You’re welcome!

    Regards,
    Rose Tyler.

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

The issue related to '‘line-through’' has been successfully resolved, and the topic is now closed for further responses

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