Home › Forums › WoodMart support forum › Change price placement
Change price placement
- This topic has 7 replies, 3 voices, and was last updated 7 years, 10 months ago by
Artem Temos.
-
AuthorPosts
-
January 21, 2018 at 7:22 am #34514
ditariParticipantI want the regular price on the right side of the sale price:
Normal view:
https://gyazo.com/199fa4e5be6abb0cbfd09133582164a9Reversed view:
https://gyazo.com/54d6f05c0dbb2e00615d56b9ee51b6c7I used HTML via “inspect element”. I have good knowledge of PHP but I dont know how to program this to use with WooCommerce.
January 21, 2018 at 8:35 am #34520
Bogdan DonovanKeymasterHi,
Try to add the following code snippet to the Custom CSS area in Theme Settings to fix this issue.
.woocs_price_code { display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; -webkit-box-align: end; -ms-flex-align: end; align-items: flex-end; -webkit-box-orient: horizontal; -webkit-box-direction: reverse; -ms-flex-direction: row-reverse; flex-direction: row-reverse; } .woocs_price_code > ins { margin-right: 5px; } .single-product-page .woocs_price_code > ins { margin-right: 10px; line-height: 1; }Regards
January 21, 2018 at 4:55 pm #34584
ditariParticipantThank you so much it worked right away. This is the exact reason why I love this theme so much. The support is the best!
January 21, 2018 at 5:39 pm #34591
Artem TemosKeymasterGreat, you are always welcome! 🙂
January 24, 2018 at 2:07 am #35069
ditariParticipanthttps://gyazo.com/abcc4fef0edd2ffe6a7a0b7e8c3396c0
How to get the same styling on the shop page?
January 24, 2018 at 7:27 am #35081
Artem TemosKeymasterDo you want to increase the price font size on the shop page?
January 24, 2018 at 4:55 pm #35214
ditariParticipantYes I want it to match the product page. It displays the style I applied as you can see on the gyazo.
Like regular products don’t have the pricing CSS as the sale price ones.
What I want is the non-sale products to have the same styling as the products who have a sale price
January 25, 2018 at 7:44 am #35264
Artem TemosKeymasterYou need to remove your custom CSS here https://gyazo.com/4b7062e21774dc7b5813f1dd1af5515f
And add this snippet to the Custom CSS section in Theme Settingsdiv.product-grid-item .price { font-size:200%; } -
AuthorPosts
Tagged: woocommerce
- You must be logged in to create new topics. Login / Register
