Rjafadi Posted September 9, 2022 Share 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? Link to comment
Rjafadi Posted September 9, 2022 Author Share 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 Link to comment
tuanphan Posted September 10, 2022 Share 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 How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Hallowxx Posted February 6 Share Posted February 6 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 Link to comment
tuanphan Posted February 8 Share Posted February 8 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 How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment