Hey I’m Seth!

Founder, No Code MBA
Each week I share the latest No Code MBA tutorials, interviews, and tool recommendations with 20,000 subscribers.
I'd love for you to join as well.
2 min read only
Practical lessons
Free access to content
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form...
00
D
00
H
00
M
00
S
Product Hunt Launch Discount! Get 40% Off →

A Crash Course on Responsive Design Using Bubble (Step-by-Step)

Last updated

June 18, 2024

Header 1

Header 2

Header 3

Header 4

Header 5
Header 6

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

  1. Point one
  2. Point two
  3. Point three
  • Point one
  • Point two
  • Point three

Linkis a great example of something

Building responsive apps in Bubble is key to delivering a great user experience across devices. In this crash course, we'll cover the fundamentals of responsive design in Bubble, so your app looks polished whether viewed on desktop or mobile.

Ready to master Bubble's responsive capabilities? Let's get started.

Hiding and Showing Elements on Different Screen Sizes

One essential technique is hiding and showing elements based on screen size. The header is a perfect example. On desktop, the navigation links are visible. But on mobile, they're replaced by a dropdown toggle.

To achieve this:

  1. Hide the element by default in the settings panel.
  2. Check "Collapse when hidden" for a seamless transition.
  3. Add a conditional to show the element when the page width is below a certain threshold (e.g., 768 pixels).

For elements you want visible on desktop but hidden on mobile, do the opposite. Keep them visible by default, collapse when hidden, and add a conditional to hide when the page width is below your breakpoint.

Implementing a Mobile Dropdown Menu

That mobile toggle needs to trigger a dropdown menu. Here's how Bubble handles it:

  1. The toggle icon has an "On Click" event that triggers a workflow.
  2. The workflow uses the "Toggle Element" action to show/hide a Group Focus element.
  3. The Group Focus element contains the mobile navigation menu.

Set the Group Focus element's "reference element" to the toggle icon so it appears in the correct spot. And don't forget to hide it by default!

Making Text Elements Responsive

Next up: ensuring your text looks great on all devices. The key is proper grouping and setting width constraints.

Place your text elements inside a Group element with the following settings:

  • Container layout: Columns
  • Alignment: Center
  • Uncheck "Fixed width"
  • Set Min width and Max width based on your desired text width range

For smaller bits of text, you can check "Fit width to content" to ensure no awkward gaps.

Adjusting Layouts for Different Screen Sizes

Responsive layouts in Bubble rely on Columns and Rows. Columns stack vertically, while Rows arrange content horizontally.

Some tips:

  • Use Columns for content that should stack on mobile
  • Use Rows for content that should stay side-by-side on desktop but stack on mobile
  • Adjust the Min width and Max width of Row elements to control when stacking occurs
  • Hide images on mobile using conditionals to optimize layout

Mastering Columns and Rows is the foundation of responsive Bubble apps.

Testing Your Responsive App

To see your app at various screen sizes, toggle on Responsive Mode. You can select common device sizes or drag to any custom width.

Be sure to test your app thoroughly to catch any elements that aren't resizing correctly. It's also wise to test on real devices for the most accurate assessment.

Want to take your Bubble skills to the next level? Sign up for No Code MBA to access our full Bubble Masterclass and other expert-led no-code courses.

FAQ (Frequently Asked Questions)

What's the best way to learn responsive design in Bubble?

The best way to learn is by doing. Start by implementing the techniques covered in this post in your own Bubble app. Experiment with different layouts and settings to see how they affect your app's appearance at various screen sizes. The more you practice, the more responsive design will become second nature.

Do I need to design separate versions of my app for mobile and desktop?

Nope! The beauty of responsive design is that you can create one app that adapts to different screen sizes. By using the techniques covered here, like hiding/showing elements and adjusting layouts based on device width, your app will look great on both mobile and desktop without needing separate versions.

What if I want my app layout to change at a specific screen width not covered by Bubble's preset device sizes?

No problem. In Responsive Mode, you can drag the width ruler to any pixel value. Use this to find the exact width where you want your layout to adjust, then use that pixel value in your visibility conditions and element width settings.

Can I make responsive apps in Bubble without using the Responsive Mode?

Technically yes, but it's not recommended. Responsive Mode is there to make your life easier and help you catch issues faster. By previewing your app at different sizes in real-time, you can quickly spot and fix problems. Trying to build responsively without this tool is a bit like flying blind.

What if I have a responsive issue that I can't seem to solve?

If you get stuck, don't panic! The Bubble community is incredibly helpful. Try posting your issue on the Bubble forum or in a Bubble Facebook group. Chances are someone has encountered the same problem and can offer guidance. And if all else fails, consider hiring a Bubble expert on a platform like Airdev or Upwork to help troubleshoot.

Access all of this with No-Code MBA Unlimited
Unlock premium step-by-step tutorials building real apps and websites
Easy to follow tutorials broken down into lessons between 2 to 20 minutes
Get access to the community to share what you're building, ask questions, and get support if you're stuck
Friendly Tip!
Companies often reimburse No Code MBA memberships. Here's an email template to send to your manager.

Bring Your Ideas to Life with AI and No Code

Unlock premium step-by-step tutorials building real apps and websites
Easy to follow tutorials broken down into lessons between 2 to 20 minutes
Get access to the community to share what you're building, ask questions, and get support if you're stuck
Access all of this with No-Code MBA Unlimited
Unlock premium step-by-step tutorials building real apps and websites
Easy to follow tutorials broken down into lessons between 2 to 20 minutes
Get access to the community to share what you're building, ask questions, and get support if you're stuck
Friendly Tip!
Companies often reimburse No Code MBA memberships. Here's an email template to send to your manager.