Solved

collection list elements in a single row dawn theme

shamsnisa
Tourist
7 0 4

Hi!

I have a collection list on my site where I want to show 6 collections in a row. But by default one of the collections goes down in the next row how can I make them appear on a single line?

 

Here is my site:

https://kittykatty.ca/

and pwd: kittykatty

 

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
5977 1439 1777

This is an accepted solution.

Hi @shamsnisa 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

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 screen and (min-width:990px) {
    .grid--5-col-desktop .grid__item {
        width: 15%;
    }
}

 

And Save.

Result:

Made4uoRibe_0-1715620949922.png

 

 

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

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


View solution in original post

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
5977 1439 1777

This is an accepted solution.

Hi @shamsnisa 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

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 screen and (min-width:990px) {
    .grid--5-col-desktop .grid__item {
        width: 15%;
    }
}

 

And Save.

Result:

Made4uoRibe_0-1715620949922.png

 

 

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

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


shamsnisa
Tourist
7 0 4

Hey, thanks @Made4uo-Ribe.

can you please explain to me how to calculate this width or media query?