Re: How to make an image full screen on both ( desktop + mobile )

Solved

How to make an image full screen on both ( desktop + mobile )

Ali2222
Visitor
2 0 2

https://www.koryoclothing.com/ // password: parola 
This is the site. With some help from another post I have made the image banner full screen on mobile, but I still didn't figured it out on desktop 

 

This is the code I used to get the mobile picture fullscreen. ( I added this code in the custom CSS tab on the theme customizer ) 

@media screen and (max-width: 749px) {
.banner--large:not(.banner--mobile-bottom):not(.banner--adapt)
.banner__content {
min-height: 100vh;
}
}

Accepted Solution (1)

BSS-TekLabs
Shopify Partner
2350 688 806

This is an accepted solution.

- Here is the solution for you @Ali2222 
- Please follow these steps:

z5686811214059_e66de1953f1db631f9134af5cdb796ad.jpg

- Then find the theme.liquid file.
- Then add the following code at the before tag </head> and press 'Save' to save it.

 

 

<style>
.banner__content {
min-height: 100vh !important;
}
</style>

 

 

- Here is the result you will achieve:

BSSTekLabs_0-1725892824328.png

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Replies 3 (3)

BSS-TekLabs
Shopify Partner
2350 688 806

This is an accepted solution.

- Here is the solution for you @Ali2222 
- Please follow these steps:

z5686811214059_e66de1953f1db631f9134af5cdb796ad.jpg

- Then find the theme.liquid file.
- Then add the following code at the before tag </head> and press 'Save' to save it.

 

 

<style>
.banner__content {
min-height: 100vh !important;
}
</style>

 

 

- Here is the result you will achieve:

BSSTekLabs_0-1725892824328.png

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
Ali2222
Visitor
2 0 2

Thank you, it worked! 

BSS-TekLabs
Shopify Partner
2350 688 806

Glad to help you. Have a good day.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now