Do you use display classes to responsively hide/show content?
Updated by Brady Stroud [SSW] 1 year ago. See history
By default, Bootstrap will wrap the columns and make them full width on phones. If you want to hide content rather than let it wrap you can use the .d-none
class or one of the .d-{sm,md,lg,xl}-none
classes for any responsive screen variation.
More information on Display property - Quickly and responsively toggle the display value of components and more with our display utilities.

❌ Figure: Bad Example - The mobile view on the right has a large unnecessary title
Remove the title by adding the .hidden-xs
class.
<h1 class="d-xl-none">ASP.NET</h1>

✅ Figure: Good example - The mobile view is now leaner and cleaner thanks to Bootstrap display classes
Categories
Need help?
SSW Consulting has over 30 years of experience developing awesome software solutions.