Solved

how to resize the featured image for a collection

Marketing1KC
Tourist
23 0 1

hello everyone, can someone help me on how to resize the featured image for a collection on mobile view as its showing so big we would like to make it smaller for mobile version, please see the attached screenshot. 

website link - https://axletirewheel.myshopify.com - password - tangoh

Many thanks,

Marketing1KC_0-1712936611940.png

 

 

Accepted Solution (1)

zack_dev
Shopify Partner
75 14 10

This is an accepted solution.

{% if template.name == 'collection' %}
<style>
@media(max-width:768px){
   .card__inner {
    width: 55%;
    margin: 0 auto;
}
}
</style>

{% endif %}

you can try placing this on theme.liquid



- Helpful? Like or Accept solution, - Buy me Coffee


-

Contact me

View solution in original post

Replies 3 (3)

zack_dev
Shopify Partner
75 14 10

This is an accepted solution.

{% if template.name == 'collection' %}
<style>
@media(max-width:768px){
   .card__inner {
    width: 55%;
    margin: 0 auto;
}
}
</style>

{% endif %}

you can try placing this on theme.liquid



- Helpful? Like or Accept solution, - Buy me Coffee


-

Contact me

Marketing1KC
Tourist
23 0 1

Thanks Zack_dev

zack_dev
Shopify Partner
75 14 10

you are welcome !



- Helpful? Like or Accept solution, - Buy me Coffee


-

Contact me