Hello,
i wondered how I can change the price position so that it’s directly under the title.
my productpage is https://www.fluffyfruits.de/plueschtier
A user wants to reposition the product price directly under the title in the Shopify Sense theme.
Initial Solutions Offered:
Issue Encountered:
position: absolute; top: 135px;) worked initiallytop: 575px; for mobile, but this broke the desktop layoutFinal Solution:
@media only screen and (max-width: 749px) for mobile-specific positioningThe discussion provides both a no-code solution via theme settings and a CSS-based approach with responsive design considerations.
Hello,
i wondered how I can change the price position so that it’s directly under the title.
my productpage is https://www.fluffyfruits.de/plueschtier
Hi @cinamon123 ,
I understamnd that you want to change the price position so that it’s directly under the title.
You can change the position in the CUSTOMIZE.
Go to your theme > product > price > move position. (check image below) > save.
If this wot work. Try the code instead.
.price.price--large.price--on-sale.price--show-badge {
position: absolute;
top: 135px;
}
div#automizely_reviews_product_detail_title_star_widget {
margin-top: 30px;
}
Result:
I hope it help.
It did work. I did put top: 575px; to adjust for mobile version, but my desktop version is now screwed. Is there a possibility to get it on Desktop and mobile seperated?
Thanks
Yes you can you need to add the media query.
@media only screen and (max-width: 749px){
.price.price--large.price--on-sale.price--show-badge {
position: absolute;
top: 575px;
}
}
Add this one instead and dont change the 1st one that I give because that is for desktop.
I hope it help.