How to Change Slideshow Button Size on Mobile Layout Only

Solved

How to Change Slideshow Button Size on Mobile Layout Only

ilovetogolf
Visitor
2 0 1

I attached photos of both the desktop & mobile of my slideshow. I want to change my mobile view of my slideshow to have the button either at the bottom left corner - but a lot smaller than it is now.

 

How do I do this? I've tried some codes that haven't worked. I have Dawn 15.3.0 Version.

 

Mobile View (need button bottom left & smaller):

MOBILE-SS.png

Desktop View (no change needed) :

DESK-SS.png

  

Accepted Solution (1)
Rahul_dhiman
Shopify Partner
853 167 185

This is an accepted solution.

Hello @ilovetogolf 
Go to online store ----> themes ----> actions ----> edit code ----> assets ---> section-image-banner.css
add this code at the end of the file and save.

@media screen and (max-width: 968px) {
.banner__box>*:first-child {
margin-top: 19rem;
margin-left: 11rem;
}
}

result
9def9ec6-6f0c-4806-985e-6bf69ba01c6a.png

If this was helpful, hit the like button and accept the solution.
Thanks

Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront

Contact here


BEST CUSTOMER ACCOUNTS APP WITH CUSTOM WISHLIST OPTION 
TRY OUR APP :

PWC: Customer Accounts & Pages

View solution in original post

Replies 3 (3)

ilovetogolf
Visitor
2 0 1

sorry for the mistake in photos - here's the updated photos of the mobile slideshow view:

 

I'd like the button to be smaller & in the center, not the left actually 

DESK-SS2.png

DESK-SS1.png

  

Rahul_dhiman
Shopify Partner
853 167 185

This is an accepted solution.

Hello @ilovetogolf 
Go to online store ----> themes ----> actions ----> edit code ----> assets ---> section-image-banner.css
add this code at the end of the file and save.

@media screen and (max-width: 968px) {
.banner__box>*:first-child {
margin-top: 19rem;
margin-left: 11rem;
}
}

result
9def9ec6-6f0c-4806-985e-6bf69ba01c6a.png

If this was helpful, hit the like button and accept the solution.
Thanks

Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront

Contact here


BEST CUSTOMER ACCOUNTS APP WITH CUSTOM WISHLIST OPTION 
TRY OUR APP :

PWC: Customer Accounts & Pages

Betterave-Nina
Tourist
56 5 7

Hi @ilovetogolf.

 

Here's how to position that button on mobile.

 

1: Go to Online Store -> Theme -> Edit code
2: Search file base.css
3: Add the following code to the bottom of the file -> Save

 

@media screen and (max-width: 749px) {
	slideshow-component .slideshow__text.banner__box{
		align-self: flex-end!important;
	}
}

 

If done correctly the result should be like this:

Screenshot_10.png

 

I Hope this helps! 

➡➡   Easy Embed Code   ⬅⬅ insert CSS/JS/HTML/Liquid code into any store page



Speed Booster App - Improve your store speed in 3 clicks
Need professional help with your Shopify store? DM me, let's talk!
Geeky notes