How do I change my banner to fit totally for mobile view, without changing PC view

I

want to change the banner for mobile view so you can see it totally on mobile. I found a solution but it shorted the width of my PC banner view.

Hi @PLUS_clothing

Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media only screen and (max-width: 749px){
.banner__media img {
    object-fit: inherit;
}
}

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!