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 trialEdward Martinez
Courses Plus Student 8,136 PointsVisibility Question
When i add the class "hide-for small", or any visibility class for that matter to the text me button link, the button appears as a block element and breaks out of the button-group to next line. I have to override that in my stylesheet and set .button-group{ display: inline-block !important} in order for it to work correctly. Anyone know what is causing this? My code is exactly the same.
<div class="row panel">
<div class="large-12 column">
<h1>Self-destructing message app</h1>
<p class="lead">Learn how to build this fun little app by signing up for a treehouse account today!</p>
<p class="button-group radius">
<a href="#" class="button success">Download the App</a>
<a href="#" class="button hide-for-small">Text me the link</a>
</p>
</div>
</div>
1 Answer
Jeff Lemay
14,268 Points.hide-for-small must go from display:none to display:block when it is supposed to be shown. Try switching to .show-for-medium-up (or it could be .show-for-small-up).