materialize icon indicating copy to clipboard operation
materialize copied to clipboard

How to make responsive image on slider?

Open donnygunawan93 opened this issue 10 years ago • 11 comments

http://materializecss.com/media.html#slider

thats image not responsive

donnygunawan93 avatar May 01 '16 08:05 donnygunawan93

I don't see why it is not responsive to you. What would the image look like if it were "responsive"?

Dogfalo avatar May 01 '16 10:05 Dogfalo

http://materializecss.com/media.html#slider height of image not responsive

how to make slider like this http://materializecss.com/media.html#carousel, 2nd example is responsive

donnygunawan93 avatar May 01 '16 13:05 donnygunawan93

@Dogfalo @donnygunawan93 I'm not sure what's not responsive in the slider example. But the carousel is indeed not responsive for images. Easily fixed by instead of having <img> inside of the .carousel-item, adding .carousel-item background-image.

Is this what you meant @donnygunawan93 ?

gdoron avatar Jan 09 '17 11:01 gdoron

I have the same issue except when the view port changes, the indicators are not maintaining their position but rather being "pushed" out below into white space.

mckenzieja avatar Mar 23 '17 05:03 mckenzieja

@mccraveiro Can you send us a codepen to reproduce the issue? please

fega avatar May 02 '17 14:05 fega

Closed due inactivity, feel free to reopen it if it is still necessary.

fega avatar May 06 '17 17:05 fega

I faced that same problem. height is not responsive. What i have to do to set responsive height in materialize css??

vinothinin avatar Jun 23 '17 06:06 vinothinin

I would also like to find out

leonadito avatar Oct 08 '17 03:10 leonadito

I inserted <a class="carousel-item responsive-img col s12 m7 l4" href="#one!"> works, but you have to refresh the page. how to solve this without refreshing

leonadito avatar Oct 08 '17 04:10 leonadito

hi... someone alredy get the answer?

YosiLeibman avatar Jul 03 '18 05:07 YosiLeibman

As there is still no workable solution here I have to assume it is not possible with the Materialize slider.

harri00413 avatar Sep 21 '18 18:09 harri00413