Made in Builder.io

Join us for an AI launch event by

Builder.io and Figma
Talk to Us
Product
Developers
Talk to Us

Blog

Home

Resources

Blog

Forum

Github

Login

Signup

×

Visual CMS

Drag-and-drop visual editor and headless CMS for any tech stack

Theme Studio for Shopify

Build and optimize your Shopify-hosted storefront, no coding required

Resources

Blog

Get StartedLogin

A block's ability to scale appropriately to screen size, also known as its responsiveness, helps improve user experience, or UX. If your layout is responding counter to your intention, check this article for the most common helpful tips.

Every project is unique and when one needs help, it's best to make adjustments with a few guidelines in mind:

  • Work methodically and consider working in a duplicate page if experimenting might significantly change the project.
  • Read The Box Model. This doc lays out the fundamentals of layout and shares helpful pointers.
  • If a block is overflowing the boundaries of its parent container, consider adjusting the layout so that all elements naturally stay within their own containers, as this makes building responsively faster and requires fewer tweaks and less maintenance. Make sure a containing block doesn't have a fixed width that's smaller than the width of the nested block. Read How Width Affects Layout for valuable information on how this can happen.
  • Check widths and remove any fixed widths. If you're new to CSS, reset widths to their block default, working from the most obviously in-need-of-help block followed by its parent container and any containers close by or that are overlapping.
  • Use absolute positioning sparingly or avoid it if possible. Position absolute pulls a block out of the flow of the page and can have surprising results for those new to CSS. If you decide to use absolute positioning, use position relative on the nearest possible containing block so that the positioning of the nested block is relative to the containing block rather than to the entire layout.
  • If there's an absolute positioned block in the Layers tab but not in the Visual Editor work area or preview, select the layer and then check the Style tab Visibility section as well as the CSS Properties section. Position absolute can potentially place a block off the screen. To find the Block, remove positioning and any margins or padding that might be pushing it out of the viewport.

If you're still learning your way around building responsively, make sure you've read our articles on building responsively.



Looking to hire a third party to help with your project?

Submit a project request and our partnerships team will reach out to connect you with an Expert from our partner ecosystem.

Connect with us

Was this article helpful?

Product

Visual CMS

Theme Studio for Shopify

Sign up

Login

Featured Integrations

React

Angular

Next.js

Gatsby

Get In Touch

Chat With Us

Twitter

Linkedin

Careers

© 2020 Builder.io, Inc.

Security

Privacy Policy

Terms of Service

Get the latest from Builder.io

Developer Newsletter

Latest tips, tricks, and news for frontend developers from our blog

Product Newsletter

Latest features and updates on the Builder.io platform

By submitting, you agree to our Privacy Policy

Product

Features

Pricing

What's New

Developers

Builder for Developers

Developer Docs

Open Source Projects

Performance Insights

Headless CMS: Visual Guide

Resources

Documentation

Blog

Community Forum

Templates

Partners

Submit an Idea

Use Cases

Landing Pages

Headless CMS

Headless Storefront

Customer Showcase

Customer Success Stories

Builder.io logo

Visually build and optimize digital experiences on any tech stack. No coding required, and developer approved.

Get Started

Log In

Product

Features

Pricing

Integrations

React.js

Next.js

Gatsby

Angular

Vue

Nuxt

Hydrogen

Salesforce

All Integrations

Use Cases

© 2023 Builder.io, Inc.

Security

Privacy Policy

SaaS Terms