Unit Price Textsize - by Danielberlin - on WordPress WooCommerce support

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

  • Avatar: Danielberlin
    Danielberlin
    Participant
    August 20, 2018 at 10:02

    Hello,

    I have a question about the unit price. I adjusted the text using CSS

    .price-unit.price {
    font-size:14px;}

    but when I leave the edit mode, the text is back to the previous size, if I defined it using CSS. Where’s the mistake here?

    12 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 20, 2018 at 10:09

    Hello,

    Thanks for contacting us.
    Have you added custom css code in Theme Options > Styling > Custom css or in style.css file of child theme?
    For example, add this code in Global custom css area via Theme Options:

    .content-product .price {
        font-size: 16px;
    }
    

    Regards

    Avatar: Danielberlin
    Danielberlin
    Participant
    August 20, 2018 at 11:15

    Hello again,

    I had stored the code under Design -> Costumizer.
    The code you gave me does not change anything.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 20, 2018 at 13:00

    Hello,

    1) Provide, please, screenshot of the price that you want to change. Maybe we are talking about different things.

    2) Do you use cache plugin or CDN? Clear both once you made changes. If you use CDN then exclude wp-content/uploads/xstore/options-style.min.css file from caching.

    3) If it does not help provide us with temporary Dashboard access.

    Regards

    Avatar: Danielberlin
    Danielberlin
    Participant
    August 22, 2018 at 07:24

    Hello again, unfortunately I can’t upload a screenshot here in the forum

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 22, 2018 at 07:35

    Hello,

    Use Lightshot Screenshot tool to share your screenshot link.

    Regards

    Avatar: Danielberlin
    Danielberlin
    Participant
    August 28, 2018 at 09:04
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 28, 2018 at 14:26

    Hello,

    Thanks for the reply.
    Please provide us with your site URL and temporary wp-admin access.

    Regards

    Avatar: Danielberlin
    Danielberlin
    Participant
    August 28, 2018 at 14:32

    Hello

    Please, contact administrator
    for this information.
    Avatar: Danielberlin
    Danielberlin
    Participant
    August 28, 2018 at 15:15

    A suitable article to look because of the text would be

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 29, 2018 at 07:18

    Hello,

    Please add this code in Theme Options > Styling > Custom css > Global custom css:

    .single-product .product-information .price-unit.smaller {
        font-size: 14px;
    }
    
    .single-product .product-information .woocommerce-price-suffix {
        font-size: 12px;
        display:  inline-block;
        width: auto;
    }
    .single-product .product-information  .woocommerce-Price-amount.amount {
        display:  inline-block;
    }

    Let me know the result.

    Regards

    Avatar: Danielberlin
    Danielberlin
    Participant
    August 29, 2018 at 07:59

    Hello again, thank you very much, the text is now in the right size.
    Then I have something else, see screenshot.

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 29, 2018 at 09:45

    Dear @Danielberlin,

    I hope this article will be helpful for you https://businessbloomer.com/woocommerce-add-prefix-suffix-product-prices/

    Regards

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

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

Helpful Topics

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