Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
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
desktop
mobile
old style
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!
User | RANK |
---|---|
149 | |
94 | |
64 | |
58 | |
57 |
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By