Home Forums WoodMart support forum Price suffix formatting options

Price suffix formatting options

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #584886

    gergo
    Participant

    Hi,

    I started to use the price suffix option in WooCommerce, it works fine.
    Somehow the XTemos Elementor WooCommerce Price content suffix customization doesn’t work.

    I set the text size to 8px but nothing happens. (my last screenshot)

    How can I setup the text stye option of the price suffix.

    For me that would be optimal, if I can change the text size smaller and the whole price suffix starts in a new line.
    For example:

    Price: 100EUR
    (Price with VAT: 117EUR)

    Thanks for your help.
    Gergo

    • This topic was modified 1 year ago by gergo.
    Attachments:
    You must be logged in to view attached files.
    #584893

    Artem Temos
    Keymaster

    Hi,

    Could you please send us a link to your website where we can see this issue?

    Kind Regards

    #585615

    gergo
    Participant

    Hi I sent the information privately.

    #585630

    Artem Temos
    Keymaster

    To fix this issue, try to add the following code snippet to the Custom CSS area in Theme Settings.

    body .wd-single-price .price .woocommerce-price-suffix .amount {
    	font-size: inherit;
    }
    
    body .woocommerce-price-suffix {
    	font-size: 24px; /* set suffix size here */
    }
    #585715

    gergo
    Participant

    Thanks for your solution.
    Can you check on the front page too? Somehow it works in the opposite way, the first price is small the second is bigger. Could you use flex box or something else, to behave the two prices together in responsive mode?
    It would be a nice option to add to the widget as option to show the suffix in new line.

    Thanks.

    Attachments:
    You must be logged in to view attached files.
    #585725

    Artem Temos
    Keymaster

    Try to replace previous custom CSS with the following one

    body .wd-single-price .price .woocommerce-price-suffix .amount {
    	font-size: inherit;
    }
    
    /* single product suffix size */
    
    body .wd-single-price .woocommerce-price-suffix {
    	font-size: 24px;
    }
    
    /* product grid suffix size */
    
    body .product-grid-item .woocommerce-price-suffix {
    	font-size: 12px; 
    }
Viewing 6 posts - 1 through 6 (of 6 total)