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 |
---|---|
72 | |
65 | |
53 | |
52 | |
42 |
As a business owner, have you ever wondered when your customer's first impression of yo...
By Skye Jun 6, 2023We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023