-4

enter image description here I can't make my featured images responsive despite internet advice about max-width:100% or auto.

My site is vladmakeev.net

Tablets and phones are shown cropped image. I want full image, what to do?

I made changes that I saw in answer, and my image became proper sized, but it is center on the outside and I can't place in in the middle. After changes

What should I do next?

  • 3
    Possible duplicate of [Responsive Images with CSS](https://stackoverflow.com/questions/11736363/responsive-images-with-css) – Nico Haase Feb 24 '18 at 10:11

2 Answers2

0

make your images css "width:100%" instead of "max-width: 100%"

dy_
  • 2,433
  • 24
  • 27
0

to make an image responsive, you must do this:

img {
      max-width: 100%;
      height: auto;
    }

if you are using bootstrap:
for bootstrap 3: add .img-responsive to your image.
for bootstrap 4: add .img-fluid to your image.

hope it help :)

Mohandes
  • 452
  • 3
  • 15