How do I decrease the width / height of a text box on just one slideshow slide and not the others

Solved

How do I decrease the width / height of a text box on just one slideshow slide and not the others

lukafernada
Excursionist
94 0 39

 

This is the size difference on the slide I want to change:

Image 23-09-2024 at 00.20.jpeg

 

It is on the home page of the website.

Accepted Solution (1)

Dan-From-Ryviu
Shopify Partner
9527 1912 1947

This is an accepted solution.

Hi @lukafernada 

You can add this code to Custom CSS in Online Store > Themes > Customize > Theme settings

@media (min-width: 750px) {
#Slide-template--20584607220061__5a90b9b4-ada0-472e-93a0-a9e4e6fcd0b8-1 .banner__box {
min-width: 39rem;
}
}

Screenshot 2024-09-23 at 09.35.09.png

 

- Helpful? Like and Accept solution! or Buy me coffee
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Ryviu: Aliexpress Reviews - AliExpress Reviews Importer, one-click import aliexpress reviews, export reviews to CSV file.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

View solution in original post

Replies 2 (2)

BSSCommerce-HDL
Shopify Partner
2292 842 1057

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 !important;
    min-width: 30rem !important;
}
</style>

Here is result: 

BSSCommerceHDL_0-1727054083150.png

 

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

Dan-From-Ryviu
Shopify Partner
9527 1912 1947

This is an accepted solution.

Hi @lukafernada 

You can add this code to Custom CSS in Online Store > Themes > Customize > Theme settings

@media (min-width: 750px) {
#Slide-template--20584607220061__5a90b9b4-ada0-472e-93a0-a9e4e6fcd0b8-1 .banner__box {
min-width: 39rem;
}
}

Screenshot 2024-09-23 at 09.35.09.png

 

- Helpful? Like and Accept solution! or Buy me coffee
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Ryviu: Aliexpress Reviews - AliExpress Reviews Importer, one-click import aliexpress reviews, export reviews to CSV file.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.