Shopify themes, liquid, logos, and UX
Hi for the desktop version I moved the description to the right of each image.
However this doesn't work well for the mobile version:
Could somebody please help me to move the description on the mobile version under each image but keep the desktop version the way it is???
website: ordinarythings.club
Thank you so much for the help :))))
Hi,
You can add to this code to your theme:
@media only screen and (max-width: 767px){
.collection .card.card--standard.card--media{
flex-direction: column;
}
.collection .card.card--standard.card--media .card__inner,
.collection .card.card--standard.card--media .card__content{
width: 100%;
}
}
Adding this to the bottom of theme.liquid doesn't work.
if you include to that file you need add them inside these tags
{% stylesheet %}
// add in here
{% endstylesheet %}
{% stylesheet %}
// @media only screen and (max-width: 767px){
.collection .card.card--standard.card--media{
flex-direction: column;
}
.collection .card.card--standard.card--media .card__inner,
.collection .card.card--standard.card--media .card__content{
width: 100%;
}
}
{% endstylesheet %}
Doesnt work. cant save it.
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025