Make image banner longer

Solved

Make image banner longer

Artez
Tourist
102 4 22

Artez_0-1749103982832.png

 

Hi I am trying to make my image banner longer.,

how can I do it please?

Warm regards.

Accepted Solution (1)

steve_michael2
Navigator
454 39 62

This is an accepted solution.

Hello @Artez ,

 

 

Navigate to Online Store > Themes > click on Edit code.
Locate and open the theme.css or base.css file. Scroll to the bottom and add the following CSS code:

 

div#Banner-template--18541339115701__image_banner {
    height: 100vh !important;
}

 

Thanks!

 

View solution in original post

Replies 8 (8)

Dkpatel
Shopify Partner
10 0 0

Hello Artez,

1. Go to Online Store -> Theme -> Edit code.
2. Open your assets -> section-image-banner.css file and replace the code with the code below.

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

 

If you found my post helpful, please give it a thumbs up — it helps others with similar questions find the solution more easily.
Feel free to reach out via email: dkpatel2431@gmail.com

websensepro
Shopify Partner
2114 265 313


Hi @Artez ,
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>

.banner.banner--content-align-center.banner--content-align-mobile-center.banner--large.banner--desktop-transparent.scroll-trigger.animate--fade-in {
    height: 95vh !important;
}

Result:

websensepro_0-1749105370343.png

 

If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Use our Big Bulk Discount app to boost your sales! 🚀 (https://apps.shopify.com/big-bulk-discount). Easy to set up and perfect for attracting more customers with bulk discounts. Try it now and watch your revenue grow!

Need a Shopify developer? Hire us at WebSensePro For Shopify Design Changes/Coding
For Free Tutorials Subscribe to our youtube
Get More Sales Using Big Bulk Discount APP
Create Your Shopify Store For Just 1$/Month
Get More Sales Using Big Bulk Discount APP
Artez
Tourist
102 4 22

don't work

websensepro
Shopify Partner
2114 265 313

Hi @Artez  try this 
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>

<style>
.banner.banner--content-align-center.banner--content-align-mobile-center.banner--large.banner--desktop-transparent.scroll-trigger.animate--fade-in {
    height: 95vh !important;
}
</style>

  

Need a Shopify developer? Hire us at WebSensePro For Shopify Design Changes/Coding
For Free Tutorials Subscribe to our youtube
Get More Sales Using Big Bulk Discount APP
Create Your Shopify Store For Just 1$/Month
Get More Sales Using Big Bulk Discount APP

Tech_Coding
Shopify Partner
520 133 131

Hello @Artez 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (max-width: 767px) {
#Banner-template--18541339115701__image_banner .banner--large:not(.banner--mobile-bottom):not(.banner--adapt) .banner__content {
min-height: 47rem !important;
background-size: contain !important;
}
}
</style>
RESULT:

Tech_Coding_0-1749105590876.png

My reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.
Artez
Tourist
102 4 22

nothing on my side

topnewyork
Astronaut
1521 187 249

Hi @Artez,


1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.

div#Banner-template--18541339115701__image_banner {
    height: 100vh !important;
}

 

topnewyork_0-1749109520176.png

Thanks!

Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month

steve_michael2
Navigator
454 39 62

This is an accepted solution.

Hello @Artez ,

 

 

Navigate to Online Store > Themes > click on Edit code.
Locate and open the theme.css or base.css file. Scroll to the bottom and add the following CSS code:

 

div#Banner-template--18541339115701__image_banner {
    height: 100vh !important;
}

 

Thanks!