Shopify themes, liquid, logos, and UX
Hi everyone,
I created a logo list and on desktop it shows 3 logos on a row but on mobile it shows 2 on one row and the last logo below, which doesn't look very good honestly, how can i fix that on mobile it shows 3 per row.
Thanks in advance!
Solved! Go to the solution
This is an accepted solution.
Hello @JarnoBroekkamp,
You can paste this code in theme.css
.section-spacing.color-scheme.color-scheme--scheme-1.color-scheme--bg-76fb24f07e08d7b2b2668a7cc812aad4 .logo-list{
grid: auto / repeat(3, minmax(0, 250px)) !important;
}
Thanks!
@JarnoBroekkamp Hope you are doing well.
Just want to share that, if you will display 3 icons per row for the mobile view it looks so small. Please check the attachment
what I suggest instead of 2 show the single logo per row for mobile view.
Thanks for the detailed description, but i dont have the option to change how it looks on mobile!
You can follow the following steps:
1. Please remove the width from the html.
2. Please go to the Online Store.
3. Then Edit Code.
4. Please find the theme.liquid file.
5. Please add code before closing the tag </head> tag.
<style>
.logo-list {
display: inline !important;
}
</style>
If this solution is worked, then please Like this and Mark this as accepted solution!
Laddi
Follow these Steps:
- Go to the Online Store
- Edit Code
- Find theme.liquid file
- Add the following code at the bottom of the file above </body> tag
<style>
@media(max-width:480px){
body .logo-list{
display:block;
}
}
</style>
Result:
Hello @JarnoBroekkamp,
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 </body> on theme.liquid
@media only screen and (max-width: 600px) {
#section#shopify-section-template--20793934348612__logo_list_7m6TcH .logo-list{
justify-content: center;
gap: var(--logo-list-gap);
display: grid;
grid: auto / repeat(3, minmax(0, 329px)) !important;
}
#section#shopify-section-template--20793934348612__logo_list_7m6TcH a.logo-list__item .constrained-image {
max-width: 150% !important;
}
}
Thanks!
Unfortunately after i did al the steps it still shows a row with 2 and a row with 1
This is an accepted solution.
Hello @JarnoBroekkamp,
You can paste this code in theme.css
.section-spacing.color-scheme.color-scheme--scheme-1.color-scheme--bg-76fb24f07e08d7b2b2668a7cc812aad4 .logo-list{
grid: auto / repeat(3, minmax(0, 250px)) !important;
}
Thanks!
You can follow the following steps:
1. Please remove the width from the html.
2. Please go to the Online Store.
3. Then Edit Code.
4. Please find the theme.liquid file.
5. Please add code before closing the tag </head> tag.
<style>
@media screen and (max-width: 767px) {
.logo-list {
display: inline !important;
}
}
</style>
If this solution is worked, then please Like this and Mark this as accepted solution!
Laddi
Hi Laddi,
Thanks a lot but i find that the logo's next to each other are a bit better looking
Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025