Dawn Theme - image to be same width/size as page content

Hello, I would like to know how to get my image to always be the same width of page content even when resizing. I have this code but it changes sizing when testing in google. Alos, do I add padding in this href tag or add it in Shopifys custom CSS theme editor?

Hi @xnyjyh ,

I don’t know if I misunderstood what you meant, but if you want the image to always have 100% full width in the page content regardless of resizing, then your code will work, the reason it doesn’t work in this case is that your problem may be due to another part of the code being affected. For a more detailed review, you can give me the link to your store/where you want to edit this.

In addition, in my opinion, you should style the CSS files in the theme editor to make it easier to control the lines of code. You can set classes for your tags to style more easily.