Images in custom pages not responsive

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
9 years ago
Hi All

We have created a blog page and added an image into that blog  page .
Image is not responsive when viewed in mobile .
Is there anyway I can make this image responsive ?  
Or Is there any plugin available to make this possible?

Thanks
9 years ago
WICSS wrote:
Hi All

We have created a blog page and added an image into that blog  page .
Image is not responsive when viewed in mobile .
Is there anyway I can make this image responsive ?  
Or Is there any plugin available to make this possible?

Thanks


Hi WICSS,

it's very easy to accomplish this and you don't need to add a plug-in (unless you want some fancy responsiveness like changing to another image - Jquery Picture or cropping depending on viewport - JQuery Focuspoint), but I suspect you need it not to be cut in lower resolutions.

The thing you need to do is to find the class of the wrapping element (probably .blog-page or something like that) and add to your css :

.blog-page img{
    max-width: 100%;
}

that way when you lower the viewport's width the image would scale down :)
9 years ago
Thank you very much
3 years ago
Nop-Templates.com wrote:
Hi All

We have created a blog page and added an image into that blog  page .
Image is not responsive when viewed in mobile .
Is there anyway I can make this image responsive ?  
Or Is there any plugin available to make this possible?

Thanks

Hi WICSS,

it's very easy to accomplish this and you don't need to add a plug-in (unless you want some fancy responsiveness like changing to another image - Jquery Picture or cropping depending on viewport - JQuery Focuspoint), but I suspect you need it not to be cut in lower resolutions.

The thing you need to do is to find the class of the wrapping element (probably .blog-page or something like that) and add to your css :

.blog-page img{
    max-width: 100%;
}

that way when you lower the viewport's width the image would scale down :)


Hello,
I tried this but doesn't work, My images are still not responsive on mobile on product description page :s
any help please?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.