Images (on header and articles) not responsive


#1

Hello, every images on my site (from mobile) are not responsive.
Is it there some short code to add on the CSS to fix this?
The site I’m refering to is www.smartnewz.it
Thanks


#2

Hello Valeria,

Default Astrid stylesheet contains the following CSS rule, but yours doesn’t have it.

img {
    max-width: 100%;
}

Instead, your stylesheet contains this invalid CSS rule for img element:

max: width: 70%;

You can add CSS code to your site with Simple Custom CSS plugin (just copy CSS code and paste it in Dashboard → Appearance → Custom CSS after installing and activating the plugin). Also you can add CSS code directly to style.css file of your child theme.

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.


#3

Hello Roman,
thanks for the quick answer. I fixed the code and now it works!
Many thanks

Valeria


#4

You are welcome Valeria,

I’m glad that it works now!

And have a nice day :slight_smile:

Kind Regards, Roman.