New Shopify Certification now available: Liquid Storefronts for Theme Developers

Dawn Theme Banner Question

Solved
KershawCan2017
Visitor
2 0 2

HI!

 

I'm trying to make my collection banners in the Dawn theme full width. I know very little coding, and am clueless with this. Does anyone know what I can do to turn the banner in the below link into a full-width banner?

 

ZT Titanium – Kershaw Canada

 

Any help is much appreciated 🙂

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
4210 974 1184

This is an accepted solution.

Hi @KershawCan2017 

Like this?

Made4uoRibe_0-1697131977680.png

If it is, try the code. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • 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 screen and (min-width: 750px){
.collection-hero__inner {
    align-items: flex-start !important;
    flex-direction: column !important;
}
    .collection-hero__image-container.media.gradient {
    margin: 0px;
}
.collection-hero__image-container.media.gradient img {
    object-fit: fill;
}
}

 

  • And Save. 
Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


View solution in original post

Replies 2 (2)
Made4uo-Ribe
Shopify Partner
4210 974 1184

This is an accepted solution.

Hi @KershawCan2017 

Like this?

Made4uoRibe_0-1697131977680.png

If it is, try the code. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • 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 screen and (min-width: 750px){
.collection-hero__inner {
    align-items: flex-start !important;
    flex-direction: column !important;
}
    .collection-hero__image-container.media.gradient {
    margin: 0px;
}
.collection-hero__image-container.media.gradient img {
    object-fit: fill;
}
}

 

  • And Save. 
Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


KershawCan2017
Visitor
2 0 2

Thanks so much, @Made4uo-Ribe ! That worked perfectly 🙂