Help adjusting mobile layout of “Text Columns with Images” section

Solved

Help adjusting mobile layout of “Text Columns with Images” section

Eduardo_DT
Excursionist
28 1 11

Hi Shopify experts,

 

I’m reaching out to see if anyone can help me with a specific layout issue I’m facing.

 

I’m using the Text Columns with Image section on the following product landing page:

 

https://wearesoluto.com/products/kit-de-bienvenida-soluto-1?_pos=1&_psq=KI&_ss=e&_v=1.0 

 

On desktop, the layout works perfectly and looks exactly as I want.
However, on mobile, I have the section displayed in slider format, and I’d like each column to appear a bit smaller/narrower, so users can partially see the next slide, similar to a carousel preview.

This would help visually suggest that the section is scrollable and enhance the UX.


I’ve attached a quick sketch/example of the desired look:

 

Eduardo_DT_1-1746535144657.png

 

Let me know if anyone can provide support or guidance on how to achieve this.

Thank you so much in advance!

Accepted Solution (1)

ProtoMan44
Shopify Partner
743 60 114

This is an accepted solution.

@Eduardo_DT hey, thanks for posting here.
Add this CSS in the custom CSS box of this section:

@media only screen and (max-width: 749px) {
 .grid--mobile-slider .grid-item {
    width: calc(90% - 50px) !important;
    margin-right: 0 !important;
 }
}

ProtoMan44_0-1746538961820.png


Mark if it solved or worked; otherwise, reply for more help. thanks.

  

 

- A thirsty developer passionate about supporting the community. If you'd like to, you can  

Buy me a Coffee.


- Your Shopify Solution Specialist Get a Quote at

ProtoMan44

 - 

Chat On Whatsapp


Crafting exceptional e-commerce experiences to elevate your online presence. Let's build your success story together!

View solution in original post

Replies 3 (3)

moshbray
Shopify Partner
85 3 10

Okay this can be done and achieved depending on the themes that you're using. you just need to do the setup in your themes customize section by choosing the mobile view.  I hope you understand?

Made4uo-Ribe
Shopify Partner
10202 2422 3067

Hi @Eduardo_DT 

Check this one. 

  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 "Actions" and then "Edit code".
  3. In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media only screen and (max-width: 749px) {
    #SectionColumns--template--25172739785047__section_columns_KBXRUM .grid--mobile-slider .grid-item {
        flex: 0 0 auto;
        width: calc(70% - 50px) !important;
    }
}
  • And Save.
  • Result:
  • Made4uoRibe_0-1746537963453.png

     

Note: This will only work on this column section, not on the other column sections.

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

ProtoMan44
Shopify Partner
743 60 114

This is an accepted solution.

@Eduardo_DT hey, thanks for posting here.
Add this CSS in the custom CSS box of this section:

@media only screen and (max-width: 749px) {
 .grid--mobile-slider .grid-item {
    width: calc(90% - 50px) !important;
    margin-right: 0 !important;
 }
}

ProtoMan44_0-1746538961820.png


Mark if it solved or worked; otherwise, reply for more help. thanks.

  

 

- A thirsty developer passionate about supporting the community. If you'd like to, you can  

Buy me a Coffee.


- Your Shopify Solution Specialist Get a Quote at

ProtoMan44

 - 

Chat On Whatsapp


Crafting exceptional e-commerce experiences to elevate your online presence. Let's build your success story together!