Home › Forums › WoodMart support forum › How to display only the minimum price on the products page?
How to display only the minimum price on the products page?
- This topic has 11 replies, 2 voices, and was last updated 6 years, 1 month ago by Elise Noromit.
-
AuthorPosts
-
November 15, 2018 at 11:28 am #89641
maesepauParticipantThere is some option to be able to leave only the minimum price of a variable product on display. Please can you tell me how to modify it?
Attachments:
You must be logged in to view attached files.November 15, 2018 at 12:39 pm #89659
Elise NoromitMemberHello,
This is possible to do with the custom CSS only:
body .product-grid-item .price, body .single-product-page .summary-inner > .price { font-size: 0; } body .product-grid-item .price del, body .single-product-page .summary-inner > .price del { margin-right: 3px; } body .product-grid-item .price span:first-child { font-size: 14px; } .single-product-page .summary-inner > .price span:first-child { font-size: 22px; }
Best Regards
November 15, 2018 at 1:35 pm #89684November 15, 2018 at 2:25 pm #89695
Elise NoromitMemberHello,
Please remove the “gt” and insert
>
instead, make sure you have inserted the cod exactly which I have provided or give your site admin access.Best Regards
November 15, 2018 at 2:51 pm #89698November 15, 2018 at 3:30 pm #89720
Elise NoromitMemberHello,
Please provide me your site admin access.
Best Regards
November 15, 2018 at 4:14 pm #89730
maesepauParticipantcss
November 16, 2018 at 8:03 am #89801
Elise NoromitMemberHello,
Please add this code to the Theme settings > Custom CSS > Global
body .product-grid-item .price, body .single-product-page .summary-inner > .price { font-size: 0; } .single-product-page .summary-inner > .price > span:first-child { font-size: 22px; } .single-product-page .summary-inner > .price > small { font-size: 18px; margin-left: 6px; } body .product-grid-item .price > ins, body .product-grid-item .price > span:first-child { font-size: 14px; } body .product-grid-item .price > del { font-size: 12px; margin-right: 3px; } body .product-grid-item > .price > small { font-size: 12px; margin-left: 4px; } body .single-product-page .summary-inner > .price > ins, body .single-product-page .summary-inner > .price > span:first-child { font-size: 22px; } body .single-product-page .summary-inner > .price del { font-size: 22px; margin-right: 6px; }
Best Regards
November 16, 2018 at 12:33 pm #89846
maesepauParticipantCódigo css
November 16, 2018 at 1:39 pm #89862
Elise NoromitMemberHello,
Please replace the symbols with
>
symbol Your code in the Theme settings > custom CSS should look like exactly as it is given.Best regards
November 16, 2018 at 2:16 pm #89872
maesepauParticipantproblema css
November 16, 2018 at 2:55 pm #89879
Elise NoromitMemberHello,
Copy the code from the forum not from your mail. The code will be copied correctly.
Best Regards
-
AuthorPosts
Tagged: css, Price table, product page, variable products
- You must be logged in to create new topics. Login / Register