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 trialAndrew Cooper
2,758 Pointsresponsive slider plugin css
My display is showing verticaly instead of horizontal need help
Here is the code:
<style type="text/css">
/* mwuSlider */
.wmuSlider {
position: relative;
overflow: hidden;
height: 310px;
}
.wmuSlider .wmuSliderWrapper {
display: none;
}
.wmuSlider .wmuSliderWrapper article {
position: relative;
height: 310px;
}
.wmuSliderPagination {
z-index: 2;
position: absolute;
left: 48px;
bottom: 10px;
}
.wmuSliderPagination li {
float: left;
margin: 0 5px 0 0;
list-style-type: none;
}
.wmuSliderPagination a {
display: block;
text-indent: -9999px;
width: 10px;
height: 10px;
background: #4FB69F;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
}
.wmuSliderPagination a.wmuActive {
background-position: -10px -80px;
background: #349C79;
}
@media screen and (max-width: 650px) {
.wmuSlider {
display: none;
}
}
</style>
<script src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.wmuSlider.min.js"></script>
<script src="external/matchmedia.js"></script>
<script src="picturefill.js"></script>
<script src="jquery.fitvids.js"></script>
<script src="jquery.fittext.js"></script>
<script>
$("#featured-video").fitVids();
setTimeout ( function () {
$(".fittext").fitText(2.2);
}, 1);
var options = {navigationControl: false, animation: "slide"};
$(".wmuSlider").wmuSlider(options);
</script>