
What code do I use to make the banner (featured image) responsive for mobile and different browsers?
2 comments
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;