How do I customise the size of my slideshow banner so it doesn't take up so much space

How do I customise the size of my slideshow banner so it doesn't take up so much space

lukafernada
Excursionist
122 1 48

I just wish to edit the height to reveal the products below a little bit more

Screenshot 2024-09-18 at 23.35.11.png

Replies 5 (5)
lukafernada
Excursionist
122 1 48

hi david,

 

On both answers to my questions you have provided no code to help me, just that I should code it. Do you have a piece of code i can use?

 

DaveedValencia
Shopify Partner
26 5 5

Can you share a link to the website and I'll write the CSS code needed to adjust the height.

lukafernada
Excursionist
122 1 48

Hello,

 

What is the Custom CSS code to do this

 

Thank you

BSSCommerce-HDL
Shopify Partner
2303 847 1062

Hi @lukafernada

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

 

 

 

 

 

<style>
.slideshow__text.banner__box.content-container.content-container--full-width-mobile {
    padding: 25px 0;
    min-width: 35rem !important;
}
</style>

 

 

 

 

 

 

Hope this can help you,

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

 
 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

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

lukafernada
Excursionist
122 1 48

this did not help me edit the height of the banner, just decrease padding of the writing in it: 

IMG_0053.jpeg

when i changed the 'width' to 'height' in your code, it would allow me to only increase it then, but not make it smaller than it already is. How can I do this?