Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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!