Shopify themes, liquid, logos, and UX
Wondering if there is code I can add to move the loox review star widget & product title to above the product image on mobile? And centre these if possible.
Thanks
Solved! Go to the solution
This is an accepted solution.
Hi @shanagarryceo ,
You can replace previous my code by below code:
@media screen and (max-width: 749px) {
.product {
position: relative;
padding-top: 120px;
}
.product .product__title {
position: absolute;
top: 15px;
max-height: 52px;
overflow: hidden;
text-align: center;
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.product #shopify-block-loox-rating {
position: absolute;
top: 40px;
left: 50%;
transform: translatex(-50%);
}
}
I hope it would help you
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
Hi @shanagarryceo ,
This is Mike from Omega
Could you leave a link to product page which has Loox Reviews on it, then I can check it for you.
Hi Mike,
Thanks for looking into this! Here is the link - https://easypackpro.com/products/travel-compression-cube?variant=44506212466962
You will need a custom code in main-product.liquid file to do that.
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Amazon Products Importer - Import Amazon Products to Dropship in Your Store!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
Hi Dan,
Do you know what this code is?
Hi @shanagarryceo ,
This is Richard from PageFly - Landing page builder, I’d like to suggest this idea:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/section-main-product.css->paste below code at the bottom of the file:
@media screen and (max-width: 749px) {
.product {
position: relative;
padding-top: 120px;
}
.product .product__title {
position: absolute;
top: 15px;
max-height: 52px;
overflow: hidden;
text-align: center;
}
.product #shopify-block-loox-rating {
position: absolute;
top: 60px;
left: 50%;
transform: translatex(-50%);
}
}
I hope it would help you
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
Hi Richard,
This is great, however the title is still positioned to the left, how could I amend this code to centre this?
Also - is there a way to decrease the gap between the star rating and title?
This is an accepted solution.
Hi @shanagarryceo ,
You can replace previous my code by below code:
@media screen and (max-width: 749px) {
.product {
position: relative;
padding-top: 120px;
}
.product .product__title {
position: absolute;
top: 15px;
max-height: 52px;
overflow: hidden;
text-align: center;
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.product #shopify-block-loox-rating {
position: absolute;
top: 40px;
left: 50%;
transform: translatex(-50%);
}
}
I hope it would help you
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
Works perfectly Richard thank you
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025