How to change the width of the reviews section on MOBILE

Solved

How to change the width of the reviews section on MOBILE

CreatorTim
Navigator
471 1 71

Hi, how can I change the width of the reviews section on mobile?

 

Here’s how it looks on my store:

CreatorTim_0-1736199185501.png

 

And I want it to look like this:

IMG_8225 (1).jpg

 

So simply, I don't want it to span across the entire screen.

Here’s a link to a store that looks the way I want it to: https://tomnoske.store/

(Just scroll down, it's there.)

 

And here’s my store: https://1049xn-ya.myshopify.com/ 

(Just scroll down, it's there.)

 

As I mentioned, I want this change only for mobile, I want to keep it as it is on desktop.

 

Thanks a lot!

Tim

Accepted Solution (1)

Farhan3
Shopify Partner
29 3 2

This is an accepted solution.

Hi @CreatorTim,

Try these steps:

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on the "3 dots button" on the left side of "Customize" button and then click on "Edit code".
  3. On the left side, in the "Assets" folder, click on "base.css" file, now at the bottom of the file, add the following CSS code:
    @media screen and (max-width: 767px) {
    #shopify-section-template--22711083729161__custom_liquid_wTxmeQ .custom-liquid-section {
      padding: 0 20px;
    }
    }

If this helped solve your issue, a Like and Accept as Solution would mean the world to me! ❤️ If you'd like to go the extra mile, your kind Coffee Tips keep my creativity and dedication brewing! Cheers to creating awesome Shopify solutions together! 🚀

View solution in original post

Replies 6 (6)

DaisyVo
Shopify Partner
4469 501 598

Hi @CreatorTim 

 

The review section code appears to come from an application or a JavaScript snippet. Typically, code located within the #shadow-root (open) element cannot be styled directly with CSS.

 

If this code originates from an app, you may need to contact the app provider for assistance in customizing the CSS. Alternatively, if the code was manually added, you might need to hire a theme developer to review and customize your theme, as this is beyond the scope of our support.

 

Thank you for your understanding!

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution
CreatorTim
Navigator
471 1 71

Thans for the feedback brother.

Farhan3
Shopify Partner
29 3 2

This is an accepted solution.

Hi @CreatorTim,

Try these steps:

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on the "3 dots button" on the left side of "Customize" button and then click on "Edit code".
  3. On the left side, in the "Assets" folder, click on "base.css" file, now at the bottom of the file, add the following CSS code:
    @media screen and (max-width: 767px) {
    #shopify-section-template--22711083729161__custom_liquid_wTxmeQ .custom-liquid-section {
      padding: 0 20px;
    }
    }

If this helped solve your issue, a Like and Accept as Solution would mean the world to me! ❤️ If you'd like to go the extra mile, your kind Coffee Tips keep my creativity and dedication brewing! Cheers to creating awesome Shopify solutions together! 🚀

CreatorTim
Navigator
471 1 71

Thank you!

Dan-From-Ryviu
Shopify Partner
12035 2353 2530

Hi @CreatorTim 

Please add this code to Custom CSS in Online store > Themes > Customize > Theme settings 

@media (max-width: 749px) {
#shopify-section-template--22711083729161__custom_liquid_wTxmeQ .custom-liquid-section {
    padding: 0 20px;
}
}

Screenshot 2025-01-07 at 09.37.53.png

- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- 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.
- Enjoy 1 month of Shopify for $1. Sign up now.

CreatorTim
Navigator
471 1 71

Thank you! Works