Comments 1George started the conversationOctober 25, 2024 at 8:01amHallo1. Can you help me to change the size and color of the price display font?https://mansarda-online.ro/produs/fakro-fts-v-u2-fereastra-de-mansarda-standard/2. I would like the price to be displayed at the bottom even if only the default product is selectedhttps://mansarda-online.ro/produs/fakro-lmk-komfort-scara-metalica-acces-pod/Attached files: WhatsApp Image 2024-10-25 at 10.55.19.jpeg WhatsApp Image 2024-10-25 at 11.00.47.jpeg 1,226Dustin repliedOctober 28, 2024 at 8:08amHi George, #1. Please add below CSS code to WP-Admin → Appearance → Customize → Additional CSS: .woobt-summary .woobt-additional { color: #DD3333; font-size: 20px; } .woobt-summary .woobt-total { color: #1e73be; font-size: 20px; font-weight: 700; } And the result: You can change the font size or color in the CSS code above to whatever you want. #2. Please add the custom code below. (How to add custom code? ↗): add_action( 'wp_footer', function () { ?> <script type="text/javascript"> (function($) { $(document).on('woobt_calc_price', function(e, total, total_ori, total_ori_regular, $wrap) { var $products = $wrap.find('.woobt-products'); var ori_price_suffix = $products.attr('data-product-price-suffix'); if (total === 0) { $wrap.find('.woobt-total').html(woobt_vars.total_price_text + ' ' + woobt_price_html(total_ori_regular, total_ori) + ori_price_suffix).slideDown(); } }); })(jQuery); </script> <?php }, 99 );Best regards,Dustin 1George repliedOctober 29, 2024 at 11:52amThank you.All the best!1 Like Sign in to reply ...
Hallo
1. Can you help me to change the size and color of the price display font?
https://mansarda-online.ro/produs/fakro-fts-v-u2-fereastra-de-mansarda-standard/
2. I would like the price to be displayed at the bottom even if only the default product is selected
https://mansarda-online.ro/produs/fakro-lmk-komfort-scara-metalica-acces-pod/
Attached files: WhatsApp Image 2024-10-25 at 10.55.19.jpeg
WhatsApp Image 2024-10-25 at 11.00.47.jpeg
Hi George,
#1. Please add below CSS code to WP-Admin → Appearance → Customize → Additional CSS:
And the result:
You can change the font size or color in the CSS code above to whatever you want.
#2. Please add the custom code below. (How to add custom code? ↗):
Best regards,
Dustin
Thank you.
All the best!