Rjafadi Posted September 9, 2022 Posted September 9, 2022 Site URL: https://www.prsnlhb.com/view-all Hi Everyone, Is there a way to move the price to the right side and on the same line?
Rjafadi Posted September 9, 2022 Author Posted September 9, 2022 Site URL: https://www.prsnlhb.com/view-all/nlt82a0v7ai136xxx613j8xrnhqoep Is there a way to move price on the same line as the product title? desktop
tuanphan Posted September 10, 2022 Posted September 10, 2022 On 9/9/2022 at 11:42 AM, Rjafadi said: Site URL: https://www.prsnlhb.com/view-all Hi Everyone, Is there a way to move the price to the right side and on the same line? #1. Add this to Design > Custom CSS /* title price same line list page */ .ProductList-meta { display: flex; align-items: center; justify-content: space-between; } #2. With individual products, add this to Last Line in Code Injection > Footer <script> $(document).ready(function() { $('.view-item section.ProductItem-details .product-price').appendTo('h1.ProductItem-details-title'); }); </script> <style> h1.ProductItem-details-title .product-price { float: right; } </style> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Hallowxx Posted February 6, 2023 Posted February 6, 2023 Would you be able to help me do the same? The above solution didn't work for me. I'd like to align the title & price on just the product blocks (not the product pages themselves) across all devices. My website is: www.hallowapotheca.com/shop
tuanphan Posted February 8, 2023 Posted February 8, 2023 On 2/6/2023 at 9:40 AM, Hallowxx said: Would you be able to help me do the same? The above solution didn't work for me. I'd like to align the title & price on just the product blocks (not the product pages themselves) across all devices. My website is: www.hallowapotheca.com/shop Use this CSS div.productDetails { display: flex; align-items: center; justify-content: space-between; } div.productDetails>* { margin-top: 5px !important; margin-bottom: 5px !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment