Shopify themes, liquid, logos, and UX
I have created a rough image blog page. It shows all images centred, rolling one after the other.
https://cncours.com/pages/parc-ferme-1
However in Mobile it stays small. I would like it to be small on desktop, but full bleed on Mobile.
How can I do this? Currently I am using this code on the page's custom css for desktop:
.center { display: block; margin-left: auto; margin-right: auto; width: 35%; }
Solved! Go to the solution
This is an accepted solution.
Use this css to make image full-width on mobile
@media screen and (max-width: 768px) {
.center {
width: 100%;
}
}
Thanks
This is an accepted solution.
Use this css to make image full-width on mobile
@media screen and (max-width: 768px) {
.center {
width: 100%;
}
}
Thanks
Amazing. Thank you!
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025