Automatically resize the banner Dawn theme when on mobile so the ends are not cut off

I was using Dawn 5.0 on my website and just updated to 8.0 When I used 5.0 the image banner would resize when going between mobile and desktop so it always looked the same. Now with 8.0 when I go to mobile the ends of the banner are cut off so you can not see the whole image and looks odd. Is there code to make this resize to fit the screen that is being used? Thank you for any help with this.

Hello @David0761 ,

Greetings from the Store Watchers Support Team! Happy to help you today.

Go to Online Store → Actions → Edit code. Then find theme.liquid.

In your theme.liquid file, please paste the code below before the tag.

{% if template == 'index' %}

{% endif %}

Let me know if need further assistance

Regards,
Store Watchers Support Team

Worked perfect! Thanks so much for the help.

Hey! I’ve encountered the same issue but entering the code did not work. Pls help.