How to make collage use a single row

How to make collage use a single row

revtekautoparts
Excursionist
30 0 6

How can I edit my collage to only use one row instead of two, whilst still using the same four images?

 

Website is revtekautoparts.com

 

Cheers.Screenshot 2024-12-10 003231.png

Replies 5 (5)

Made4uo-Ribe
Shopify Partner
9710 2309 2888

Hi @revtekautoparts 

Please, share your store URL. 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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

DaisyVo
Shopify Partner
2848 343 401

Hi @revtekautoparts 

 

I hope you are well. You can follow our instructions below:


Step 1: Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
Step 2: From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/iDxwa8zBQ4Z-
Step 3: Copy the code below and paste it there

 

Here is the code for Step 3, you can choose one out of 2 solutions below: 

 

Solution 1: 

 

.collage.collage--mobile > div {
    width: 100% !important;
}

 

image (3).png

 

Solution 2: 

 

.collage.collage--mobile {
    flex-direction: column !important;
    align-items: center !important;
}

 

image (4).png


Please let me know if it works. Thank you!

 

Best,
Daisy - Avada Support Team.

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
revtekautoparts
Excursionist
30 0 6

Thats 4 rows, 1 column. I need 1 row and 4 columns.

DaisyVo
Shopify Partner
2848 343 401

Hi @revtekautoparts 

 

We are so sorry for our misleading. Then you can replace the code above with this one: 

@media only screen and (max-width: 989px){
.collage.collage--mobile {
    display: flex !important;
    flex-wrap: nowrap !important;
}
}

 

Thank you so much!

 

Best,

Daisy - Avada Support Team. 

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

Made4uo-Ribe
Shopify Partner
9710 2309 2888

Thanks for the info, do you mean like this? 

Made4uoRibe_0-1733830275924.png

If it is, try 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: 989px){
.collage.collage--mobile {
    display: flex !important;
    flex-wrap: nowrap !important;
}
}

 

  • And Save.

 

Please be aware that this design will adapt to mobile screens, which are smaller, and the result will look like this.

Made4uoRibe_1-1733830347344.png

 

 

 Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.