How can i add spacing/padding on the sides in the reveiws section in mobile version
on desktop it looks but on mobile version there’s no side spacing. Currently Using TrustShop Reviews.
Topic summary
A user encountered a spacing/padding issue with the reviews section on mobile devices. While the desktop version displayed correctly, the mobile version lacked proper side spacing for TrustShop Reviews.
Solutions Provided:
Three community members offered CSS code solutions:
- Solution 1: Add padding to
.trustshop-review--bodyviatheme.liquidfile using media query for screens under 767px - Solution 2: Insert padding (20px left/right) to
#trustshop-reviewintheme.scss.liquid - Solution 3: Modify
trustshop-product-reviews.min.cssby changing the width from 100% to 90% with!importantflag for screens under 610px
Resolution:
The issue was successfully resolved. The user confirmed one of the solutions worked, though the specific solution used wasn’t explicitly identified. All approaches involved adding custom CSS through Shopify’s theme code editor to create proper mobile spacing.
Hello @navdeeplaller
would you like to share your store URL and password if any please.
so i can check and provide you possible solution for your question.
Thank you for reaching out and posting this question!
Sorry you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community! ![]()
Thanks for your good question.
Please share your site URL,
I will check out the issue and provide you a solution here.
HEllo @navdeeplaller
Please share your website URL and password
waggers.store
You can add code by following these steps
-
Go to Online Store → Theme → Edit code.
-
Open your theme.liquid file
-
Paste the below code before on theme.liquid
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
@navdeeplaller Thanks for ulr can you try this code
- Go to Online Store->Theme->Edit code
- Asset->/theme.scss.liquid->paste below code at the bottom of the file.
#trustshop-review {
padding-left: 20px !important;
padding-right: 20px !important;
}
Go to online store ----> themes ----> actions ----> edit code ---->assets ---->trustshop-product-reviews.min.css
search this code
@media (max-width: 610px) {
.trustshop-layout-box--left .trustshop-review--body {
width: 100%;
}
}
and repalce with this code.
@media (max-width: 610px) {
.trustshop-layout-box--left .trustshop-review--body {
width: 90% !important;
}
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
it worked
thanks!
@navdeeplaller wow that would be great thanks for update.


