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
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 |
---|---|
192 | |
150 | |
81 | |
76 | |
65 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023