Shopify themes, liquid, logos, and UX
Hi,
I'm trying to get text columns with images to stay on one line on mobile. I've managed to get it to stay on one line on desktop but I can't do it on mobile. Is there also a way to make the images much smaller and the text larger, more similar to my old style.
URL is www.indierefill.com
Solved! Go to the solution
This is an accepted solution.
hello @Jomiguens
please Go to Online Store->Theme->Edit code then go to assets/style.css ->paste below code at the bottom of the file.
@media only screen and (max-width: 750px){
.homepage-columns.section.bg--neutral .wrapper .grid {
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
}
.homepage-columns.section.bg--neutral .wrapper .grid .index__column {
padding-left: 0px ;
}
.homepage-columns.section.bg--neutral .wrapper .grid .lazy-image.column__image {
min-height: 70px;
max-width: 50px;
margin: 0px auto;
}
.homepage-columns.section.bg--neutral .wrapper .grid .home--uppercase {
font-size: 15px;
padding: 8px 2px;
}
}
can you please confirm this look?
Is it possible to go any smaller at all? Or does it cause issues with the text underneath?
This is an accepted solution.
hello @Jomiguens
please Go to Online Store->Theme->Edit code then go to assets/style.css ->paste below code at the bottom of the file.
@media only screen and (max-width: 750px){
.homepage-columns.section.bg--neutral .wrapper .grid {
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
}
.homepage-columns.section.bg--neutral .wrapper .grid .index__column {
padding-left: 0px ;
}
.homepage-columns.section.bg--neutral .wrapper .grid .lazy-image.column__image {
min-height: 70px;
max-width: 50px;
margin: 0px auto;
}
.homepage-columns.section.bg--neutral .wrapper .grid .home--uppercase {
font-size: 15px;
padding: 8px 2px;
}
}
thank you so much!
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024