Shopify themes, liquid, logos, and UX
Hi there,
we've been having some trouble with the size of product & collection cards as soon as the screen width becomes about smaller than the width of a horizontally rotated iPad. They become huge & completely unusable. We use the Refresh-Theme. Anyone knows how to fix this issue? Thanks in advance!
Solved! Go to the solution
This is an accepted solution.
Hi @fm_vlv 👋 The sanest thing to to is check a new install or new version of the theme to see if the issue is pre-existing.
⚠💣 Always backup themes before changing files 💣⚠
The width problem seems related to these lines in base.css if you comment them out you will probably get the wanted desktop/mobile behavior
/* base.css line ~1081 */
@media screen and (min-width: 750px) and (max-width: 989px) {
.slider--tablet.grid--peek .grid__item {
width: calc(25% - var(--grid-desktop-horizontal-spacing) - 3rem);
}
}
and
/* base.css line~965 */
@media screen and (max-width: 989px) {
.grid--1-col-tablet-down .grid__item {
width: 100%;
max-width: 100%;
}
}
Beyond that would take time digging and fixing.
If you need customization or further consulting then contact me for services
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
This is an accepted solution.
Hi @fm_vlv 👋 The sanest thing to to is check a new install or new version of the theme to see if the issue is pre-existing.
⚠💣 Always backup themes before changing files 💣⚠
The width problem seems related to these lines in base.css if you comment them out you will probably get the wanted desktop/mobile behavior
/* base.css line ~1081 */
@media screen and (min-width: 750px) and (max-width: 989px) {
.slider--tablet.grid--peek .grid__item {
width: calc(25% - var(--grid-desktop-horizontal-spacing) - 3rem);
}
}
and
/* base.css line~965 */
@media screen and (max-width: 989px) {
.grid--1-col-tablet-down .grid__item {
width: 100%;
max-width: 100%;
}
}
Beyond that would take time digging and fixing.
If you need customization or further consulting then contact me for services
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
It fixed the issue. Thank you very much!
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024