How can I make my mobile image banner full screen on Crave theme?

Can I please have some assistance on how to make my image banner take up the full screen on mobile?

website is https://the601collective-6987.myshopify.com/

The theme is crave

Hi @MsBaley You can try this code:

@media(max-width: 749px) {
.banner:not(.banner--stacked) {
   min-height: 100vh;
}
.banner:not(.banner--stacked) .banner__media {
  height: 100% !important;
}
}

1 Like

Please add this code at the bottom of base.css file

@media screen and (max-width 749px){
.banner__media img {
    object-fit: contain !important;
    position: relative !important;
}
.banner__media {
    height: fit-content !important;
}
}

Thanks! I’ve entered this in assets-base.css however it is still not working?

This hasn’t worked for me unfortunately. What should I do ?

My mistake, please update code like this

@media screen and (max-width: 749px){
.banner__media img {
    object-fit: contain !important;
    position: relative !important;
}
.banner__media {
    height: fit-content !important;
}
}