Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Ben Taylor
Ben Taylor
902 Points

Question about my Responsive slider

Hey guys,

I'm using Owl Carousel as my responsive slider on my site.. It works great.

My question is, when I take my site down to mobile width (32) the height of the slide is SO small, as it automatically scales down..

You can see an example of what I'm working on here: http://www.hecticdesigns.co.uk/clients/regal/new.html

It seems pretty pointless keeping it, if the height is going to be that small, does anyone have any ideas? Or should I just hide it at that height?

Thanks in advance!

2 Answers

Chris Dziewa
Chris Dziewa
17,781 Points

You could use a media query to resize it when you get to mobile, though that could cause image scale issues. I personally would remove it for mobile, since generally on mobile it's about getting the most important content to the the user. When the screen size is larger, it is nice to add the extras. Plus, the mobile will have a super slick clean style to it.

Chris Dziewa
Chris Dziewa
17,781 Points

In the end, it's your vision!