Collections list in one line

Topic summary

A user working with the Be Yours Shopify theme wants to change their collections list layout from 2 items per row to 4 items per row on desktop view.

Two solutions were provided:

  1. CSS code injection - Add custom CSS to the theme.liquid file before the </body> tag that modifies the grid item width using media queries for screens 750px and wider.

  2. Theme customizer settings - Navigate to Online Store > Themes > Customize, select the Collection List section, and adjust the number of columns per row directly in the settings panel to 4.

The original poster confirmed the CSS solution worked successfully. Both approaches achieve the same visual result of displaying 4 collections per row on desktop.

Summarized with AI on November 7. AI used: claude-sonnet-4-5-20250929.

I hope everyone is doing well. I’m using the Be Yours theme, and the collections list image on the desktop view is currently showing 2 per row. I would like to change it to display 4 collections per row. Screenshot attached.

Can anyone help me? Any assistance would be greatly appreciated.

Thank you!

Store URL: https://fit4u.online/

Hello @Digital_Imran

You can add code by following these steps

  1. Go to Online Store → Theme → Edit code.

  2. Open your theme.liquid file

  3. Paste the below code before on theme.liquid

@media screen and (min-width: 750px) { #shopify-section-template--23120365420877__collection_list_4BCAeX .collection-list--4-items .grid__item{ width: calc(24% - var(--grid-horizontal-spacing) / 2) !important; } }

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

1 Like

Thank you so much @niraj_patel it works :grinning_face:

1 Like

Hi @Digital_Imran ,

To set collection list in one line,follow these steps:

1.Go to Customize:-

In your Shopify admin, navigate to Online Store > Themes.

Click Customize for the “Be Yours” theme.

2.Select Collection List:-

In the left side panel, locate and click on the Collection List section.

3.Adjust the Number of Collections Per Row:-

Within the settings for the Collection List, you should see an option to adjust the number of columns per row.

Select 4 from the number of columns on desktop to display 4 collections per row.

4.Save Changes:-

After making your selection, click Save at the top right to apply the changes.

Result:-

I hope this helps! If it does, please like it and mark it as a solution!

If you need further assistance, feel free to reach out!

Regards,
Sweans