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 trialAlex Flores
7,864 PointsFoundation Orbit Slider Height
I'm pulling my hair out trying to figure this out. I have tried a great many things to get this to work. Anyways, I'm doing the Treehouse Framework basics on Foundation and I just finished the lesson on building the orbit slider. So far so good, however, I tried adjusting the height of the slider, but I can't seem to make it responsive. This is the best I could manage.
<div class="row">
<div class="large-12 columns" data-orbit>
<div class="slider_height">
<h1> Self-destructing messag </h1>
<p class="lead"> Test test test</p>
<p class="button-group round">
<a class="small button success" href"#"> Download Me </a>
<a class="small button alert hide-for-small" href="#"> Text me the link </a>
</div>
<div class="slider_height">
<h1> More stuff </h1>
<p> lalalalalal </p>
<p class="button-group round">
<a class="small button success" href"#"> Download Me </a>
<a class="small button alert hide-for-small" href="#"> Text me the link </a>
</div>
</div>
</div>
Here is my css
.slider_height {
height: 20vw;
width: 100%;
margin-top: 5vw;
}
Any help would be much appreciated.