This topic has 9 replies, 2 voices, and was last updated 3 years, 1 months ago ago by demzie
Single productpage: Howto get Title en Price on same line?
Howto get them on one line? Title left and price aligned to the right?
Thanks!
No thats just a try with a connection block 🙁
Its not responsive and ugly on mobile 🙁
Dont want that connection block actually.. its a mess..
Check the original website, like that 🙂
Title aligned to left, price to the right 🙂
Also its not good aligned.
Do you have css solution?
Provide temporary wp-admin access, so we can take a closer look.
Regards
See private content!
Currently website is backuping.. please enter it in about half an hour, thank you.
Hello,
Add elements like on the screenshot https://gyazo.com/02950e4446ca884c438fea8c1abc48f8 and use the next custom CSS code:
.single-product .product_title,
.single-product .et_product-block > .price {
display: inline-block;
margin-right: 15px;
}
Regards
Hi,
This is not really working? on desktop the price is not aligned to the right.
On mobile it is still a mess..
Hello,
Change the previous code to:
.single-product .product_title,
.single-product .et_product-block > .price {
display: inline-block;
}
.single-product .et_product-block > .price {
float: right;
}
@media only screen and (max-width: 992px) {
.single-product .product_title, .single-product .et_product-block > .price {
width: auto;
}
.single-product .product_title {
padding-top: 8px;
}
}
Regards
Great!
Tweaked a little bit with distances and its now perfect!
Thanks for the great support!!!!
Tagged: best selling themes, howto, price, same line, single-product page, title, woocommerce
The issue related to '‘Single productpage: Howto get Title en Price on same line?’' has been successfully resolved, and the topic is now closed for further responses