Make Product thumbnail Carousel appear on left side of main image (Dawn Theme)

Solved

Make Product thumbnail Carousel appear on left side of main image (Dawn Theme)

RyanNicko
Tourist
8 0 2

@LitCommerce I tried using your code, though the images appeared below the main image, not to the left - any idea how to resolve this issue? please see the image below:

Screen Shot 2023-04-15 at 1.58.58 pm.png

Accepted Solution (1)

dmwwebartisan
Shopify Partner
12321 2552 3729

This is an accepted solution.

Replies 16 (16)

dmwwebartisan
Shopify Partner
12321 2552 3729

This is an accepted solution.

@RyanNicko 

Please share your store URL!

Thanks!

RyanNicko
Tourist
8 0 2

whoops haha: www.fairbump.com

dmwwebartisan
Shopify Partner
12321 2552 3729

@RyanNicko 

You can follow the instruction below:

1. Go to Online Store->Theme->Edit code
2. Asset->/base.css->paste the below code at the bottom of the file:

@media (min-width: 1024px) {
	 .product--thumbnail_slider {
		 position: relative;
	}
	 .product--thumbnail_slider media-gallery {
		 display: flex;
		 flex-direction: row-reverse;
	}
	 .product--thumbnail_slider .slider-mobile-gutter:not(.thumbnail-slider) {
		 width: calc(100% - 100px);
	}
	 .product--thumbnail_slider .thumbnail-slider {
		 width: 100px;
		 padding-right: 10px;
	}
	 .product--thumbnail_slider .slider-button {
		 display: none !important;
	}
	 .product--thumbnail_slider .thumbnail-slider .thumbnail-list.slider--tablet-up {
		 padding: 0;
		 display: block;
	}
	 .product--thumbnail_slider .thumbnail-slider .thumbnail-list.slider--tablet-up .thumbnail-list__item.slider__slide {
		 width: 100%;
	}
}

Thanks!

 

RyanNicko
Tourist
8 0 2

Thanks, the carousel is on the side! 😁 THOUGH - How do I make the thumbnails appear rectangle (as per the original image dimensions) ? (not square) and can we make the images align to the top of the main image?

Screen Shot 2023-04-19 at 3.14.33 pm.png

imirfan121
Shopify Partner
2 0 0

Yes you can align your product thumbnail to the top of the main image by adding new value to one class which @dmwwebartisan has already shared with you. find the class .product--thumbnail_slider .thumbnail-slider and add the following value 

align-items: flex-startto this class and that's it.

 

Z18
Tourist
8 1 1

Hi, can you please share the code?

i tried to put thumbnails on the left side but i couldnt make it

imirfan121
Shopify Partner
2 0 0

Perfect ! Thanks for sharing. This css code has just work fine in Shopify Dawn theme. 

 

iamabeginner
Excursionist
14 0 6

I tried this code and it worked. But i want only 5 images to display as thumbnails and then there should be arrows for more than 5 images and an arrow for sliding the main product image. Can you please help. 

ajhawk52
Visitor
1 0 1

Did you ever figure out how to add the arrows? I want to add this to my store as well.

Thanks

Sabrina_MD
Excursionist
12 1 3

I would need this also.

Hopefully, someone has figured it out and will share the solution with us.

Thanks

iamabeginner
Excursionist
14 0 6

after implementing the code given above,

implement the code given in this thread.

https://community.shopify.com/c/shopify-design/add-arrows-to-swipe-between-product-images-next-previ...

Mkm2021
Tourist
13 0 1

many code in this thread which one did u use

iamabeginner
Excursionist
14 0 6

I also need the solution for this. If anyone has found it, please help.

Mkm2021
Tourist
13 0 1

how did u fix this one plz ...all my images show on left not only 5

iamabeginner
Excursionist
14 0 6

after implementing the code given above, follow this thread below to enable image swipe with buttons on desktop

https://community.shopify.com/c/shopify-design/add-arrows-to-swipe-between-product-images-next-previ...

ManuelH
Explorer
89 4 13

got serious loading issues. Make sure it loads under 2 sec