Skip to main content

What code do I use to make the banner (featured image) responsive for mobile and different browsers?

2 comments
  1. Sep 26, 2017, 11:10 AM
    Hi @Craig Jackson

    Let's give a try - The code that would make the banner (featured image) responsive for mobile and different browsers is mentioned below on the basis of if the image is a "static image" or a "background image";

    Static Image : .parentclass img{width:100%; height:auto;}

    Background Image : background size:cover;

0/9000