100% Height Full Screen in Bubble.io
In this Bubble tutorial we demonstrate how you can use a few lines of CSS to force pages in your Bubble app to be height responsive, 100% height, 100% viewport.
Unlock full-screen magic: Learn how to create a responsive sidebar that spans the entire viewport height in Bubble!
Master Bubble's layout secrets: Discover how to anchor elements to the bottom of your page using custom CSS tricks!
Elevate your Bubble designs: Transform your sidebar with this simple responsive technique for a sleek, professional look!
Creating a Full-Screen Sidebar in Bubble.io
From within the Bubble editor you can't set a responsive height for a page. What I mean by that is look at I've got this sidebar here I've got an icon at the top not my logo and I've got a logout button at the bottom and I want to make sure that logout is always anchored to the bottom of the page. So let me show you how I've done that but before I do so if you're learning Bubble and you want to access hundreds of Bubble tutorial videos many of which you cannot find on YouTube you need to check out our website planetnodecode.com.
Implementing the Full-Screen Sidebar
Let me show you how I've done this with just a few lines of custom CSS. By going onto the page let me just express the layout here I've got my page as a row and I've got my group here acting as my sidebar that's set as a column and I have the container alignment space between that's how it's forcing login right down to the bottom. But how is it that I'm making sure that the sidebar expands to fit the full viewport height?
Setting the Height to 100%
So one way I've got that going is by showing that my height here is a hundred percent that then delegates up the overall height to a container on the page. So if I'm in my browser here and I'm just going to right-click on the page bring up the inspect tools here they are and I am looking for this one here this is the class in CSS that I want to override Bubble our container.
Overriding Bubble's Default Behavior
Now this is this approach you know we're kind of bending Bubble against what Bubble provides us the tools to do so this might change it might become broken at some point but for now you can take this class Bubble our container and in settings go to your SEO settings and you can add in code just like this which is basically setting a CSS override a style override and we're saying that take the Bubble our container element on the page and force its height to a hundred percent viewport height and then just because we're really having to force it because Bubble wants to set its own height for the page we add in important that's saying that this CSS statement here takes precedent over any others.
Conclusion
Like I say this is a little bit kind of brute force so it might break might work in the future but it does allow you to get a nice height responsive design just like this.
Get the Complete Bundle for Just $99
Access 3 courses, 390+ tutorials, and a vibrant community to support every step of your app-building journey.
Start building with total confidence
No more delays. With 30+ hours of expert content, you’ll have the insights needed to build effectively.
Find every solution in one place
No more searching across platforms for tutorials. Our bundle has everything you need, with 390+ videos covering every feature and technique.
Dive deep into every detail
Get beyond the basics with comprehensive, in-depth courses & no code tutorials that empower you to create a feature-rich, professional app.
Save over 70%!
Valued at $80
Valued at $85
Valued at $30
Valued at $110
Valued at $45
Can't find what you're looking for?
Search our 300+ Bubble tutorial videos. Start learning no code today!
Have questions?
We have answers!
Find answers to common questions about our membership plans, programs, and more.
We're here to help you launch your no code SaaS. Reach out to the team and we'll double check our vast library for useful content. We'll advise you on how we'd tackle the same problem and there's a good chance we'll record the video to help the wider community.
As a Planet No Code member, you'll receive a discount on our Bubble coaching sessions. Monthly members receive a 10% discount, while Annual members receive a 17.5% discount. To redeem your discount, simply log into your account and book a coaching session through our platform.
Our 8-week intensive mentorship program is designed to provide personalized guidance and support to help you accelerate your startup journey. You'll be matched with a startup expert who will work with you one-on-one to set goals, overcome challenges, and make rapid progress.
To apply for the Mastery Program, simply click the "Request Invitation" button on our pricing page and fill out the application form. Our team will review your application and schedule a call with you to discuss your goals and determine if the program is a good fit for your needs.
We accept all major credit cards, including Visa, Mastercard, American Express, and Discover.
While we don't offer a free trial, we do provide a 14-day money-back guarantee. If you're not completely satisfied with your membership within the first 14 days, simply contact our support team, and we'll issue a full refund.