How do I make my images mobile responsive?

Solved

How do I make my images mobile responsive?

csmithco
Excursionist
22 0 6

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%;
}
Accepted Solution (1)

Guleria
Shopify Partner
4063 798 1147

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

- Custom themes, UI/UX design, ongoing maintenance & support.
- Drop an email   if you are looking for quick fix or any customization
- Email: guleriathakur43@gmail.com Skype: live:navrocks1
- Try GEMPAGES a great page builder

View solution in original post

Replies 2 (2)

Guleria
Shopify Partner
4063 798 1147

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

- Custom themes, UI/UX design, ongoing maintenance & support.
- Drop an email   if you are looking for quick fix or any customization
- Email: guleriathakur43@gmail.com Skype: live:navrocks1
- Try GEMPAGES a great page builder
csmithco
Excursionist
22 0 6

Amazing. Thank you!