No video

Fix unwanted horizontal scroll and whitespace with Overflow: hidden - Webflow tutorial

  Рет қаралды 80,639

Webflow

Webflow

Күн бұрын

Sometimes elements on a page can exist outside the viewport, and an unintended side effect can be horizontal or sideways scrolling that shows extra whitespace around your design. Not all horizontal scrolling is a bad thing, but if it’s something that doesn’t work with your design, we’ll walk you through how to stop it using Overflow: hidden, responsive design, and mindful interaction setup.
0:22 - Introduction
0:50 - Why does overflow happen?
1:35 - Detect overflow
3:00 - Fix overflow
5:31 - Check on Grimur
6:17 - Recap
Learn more at: university.web...
Note: We’re transitioning to a new UI, and are in the process of updating our Webflow University content.
----------
Get started with Webflow: wfl.io/2r7cVUW
Join the Webflow Community: webflow.com/co...
webflow.com
/ webflow
/ webflow

Пікірлер: 59
@Webflow
@Webflow 5 ай бұрын
We’re transitioning to a new UI, and are in the process of updating our Webflow University content.
@grantboufford5186
@grantboufford5186 3 жыл бұрын
X-ray mode has saved me soooooo many hours when hunting for a rogue element that's causing side scroll 🙌
@thegalhorowitz
@thegalhorowitz 3 жыл бұрын
yea when I discovered it I was on the moon
@Rybus1
@Rybus1 2 жыл бұрын
What do you mean by that? What x-ray are you guys talking about?
@grantboufford5186
@grantboufford5186 2 жыл бұрын
@@Rybus1 you can open the canvas settings by clicking on the viewport size at the top middle when in the designer. Then you’ll find a way to toggle X-ray mode! It turns everything grayscale and will reveal spacing when you hover on an element.
@codedion
@codedion 2 жыл бұрын
Hilarious and educational as always. Please never change the style of these videos
@NoahBTryhard
@NoahBTryhard Жыл бұрын
You guys are amazing bro, couldn't find this problem on the internet anywhere in detail. You guys saved my webpage, preciate it.
@AhyariNet
@AhyariNet 10 ай бұрын
Thank you for your explanation, especially the overflow caused by the animation. I searched for days for the cause, apparently it was because there was a fade-right animation which caused the overflow to occur.
@thabianblondon1231
@thabianblondon1231 3 жыл бұрын
This tutorial can save lifes
@GHL-University
@GHL-University 3 жыл бұрын
i lost it when he rubbed the trackpad
@olehansen6568
@olehansen6568 3 жыл бұрын
I rarely laugh when viewing tutorials but I'm with you on this one - the smoke was hilarious
@Dariusarvinte
@Dariusarvinte Жыл бұрын
I LOVE YOU I TRIED FOR 2 HOURS STRAIGHT AND DIDN'T FIND THE SOLUTION THANK YOU!!!!!
@infinitedesigns_io
@infinitedesigns_io 3 жыл бұрын
I love these videos more than I will ever publicly admit
@Mohd_Musheer
@Mohd_Musheer 7 ай бұрын
Like like like like!!!! Finally i found the solution after days and days of suffering lol! Thank the great team!
@AndresGutierrez-sz2oc
@AndresGutierrez-sz2oc Жыл бұрын
Wow, Awesome never change the style of these videos pleaseeeee
@abirahmed1292
@abirahmed1292 2 жыл бұрын
Thanks, overflow was one of the most confusing thing for me like Flexbox and Grids, now I understand these concepts very well except Flexbox
@ManishBhusal
@ManishBhusal 3 ай бұрын
Thank you, it works.
@TresnaSahabakti
@TresnaSahabakti 3 жыл бұрын
Webflow tutorials always make me laugh 😁
@jpg317
@jpg317 3 жыл бұрын
Thanks for going so in depth, especially with the interactions. Helped tremendously.
@griffithjoe1
@griffithjoe1 3 жыл бұрын
A much appreciated video. I have experienced this problem on mobile. Smoking track pad made my day! thanks!
@lothionlee3020
@lothionlee3020 2 жыл бұрын
Thanks for your help. You've made my day.👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍
@Webflow
@Webflow 2 жыл бұрын
Glad we could help 😁
@davidoluremi7178
@davidoluremi7178 8 ай бұрын
Thanks so much for this. It really made my day ♥️♥️♥️♥️
@MePaulhenri
@MePaulhenri 2 жыл бұрын
Thank you vey much, your knowledge helped me to solve a problem i had since two days
@vietvohoang459
@vietvohoang459 2 жыл бұрын
Awesome explanation and visual on this video, thanks lot!!
@georgy.design
@georgy.design 3 жыл бұрын
McGuire, Grimur - you’re fantastic and fabulous. Yeah, that’s right - freaking fabulous because your explanations are stunning and visuals are astonishing. Yep, just a bunch of adjectives compiled together. So what? Webflow is a designer’s dream compilation 😎
@kingawm892
@kingawm892 2 жыл бұрын
Thenk you so much l was loking for the solotion in along time
@BlitzBrickz
@BlitzBrickz Жыл бұрын
this video saved me ty
@h0ph1p13
@h0ph1p13 Жыл бұрын
My "stupid" solution is to remove high-level HTML elements (closer to the BODY tag) from the template. Remove them 1 by 1. (Reminder to backup your project first so you don't fck it up) So basically: 1. remove header refresh page, see if it still scrolls sideways - if yes, then it's probably NOT the header causingthe problem 2. remove the next element, say carousel ... see if it still scrolls sideways... 3.. etc. ( note: there is a rare case where you might have screwed up in more than one place. Try removing the whole html from the body and introduce elements 1 by 1 ) when you find the high-level element that causes problems, split it into parts and start removing/reintroducing parts 1 by 1.
@dawidp8805
@dawidp8805 3 жыл бұрын
I've been working on a personal project the last couple of days and I had several sections in it, all with their widths set to 100vw and 'overflow:hidden'. I kept getting the unwanted horizontal scroll after publishing (both Chrome desktop and Firefox desktop) . There were no overlapping elements like animated text flying in etc. Setting the sections' widths to 'auto' seems to have fixed it. I'm not sure what happened here.
@Webflow
@Webflow 3 жыл бұрын
Hi Dawid! Great question and thank you so much for letting us know. 100% or Auto would be our recommended widths for section elements. The reason being that 100VW does not account for scrollbar widths (often resulting in ~50px of horizontal scrolling in different browsers depending upon local configurations).
@dawidp8805
@dawidp8805 3 жыл бұрын
@@Webflow That explains a lot. Thanks for the tip guys. I still have a lot to learn about HTML & CSS and Webflow is helping enormously!
@RishabKapadia
@RishabKapadia Жыл бұрын
Grimur, your mac is on FIRE. lol
@keisawada667
@keisawada667 Жыл бұрын
Thank you very much.
@narciscolto3590
@narciscolto3590 Жыл бұрын
Got a problem, I did everything you guys said, I even wrapped everything in on div block and set its overflow to hideen, and there were still a horizontal scrollbar. The thing is that i have an interaction, a fixed navbar that changes its element and background color when scrolled out of view (the view being an absolute div with 100vw) and with 100% offset, I tried almost everything and I am stuck now, any tips?
@Webflow
@Webflow Жыл бұрын
To help us and the community see what the issue may be, can you please post this and your project's share link to the community forums? university.webflow.com/lesson/share-your-site discourse.webflow.com
@9ubgy90bohbhhyuiyug9y
@9ubgy90bohbhhyuiyug9y 2 жыл бұрын
just do: html, body { max-width: 100%; overflow-x: hidden;
@nikhilchoukikar3404
@nikhilchoukikar3404 2 жыл бұрын
It worked..Thanks
@9ubgy90bohbhhyuiyug9y
@9ubgy90bohbhhyuiyug9y 2 жыл бұрын
@@nikhilchoukikar3404 No problem
@pmjanoscosta
@pmjanoscosta 2 жыл бұрын
@@9ubgy90bohbhhyuiyug9y where do you put this ? on each page? Because when i insert this i see the code in the corner of the page
@9ubgy90bohbhhyuiyug9y
@9ubgy90bohbhhyuiyug9y 2 жыл бұрын
@@pmjanoscosta place in Custom code then in Head Code. Add code at the end of the tag
@osamamaarouf7036
@osamamaarouf7036 2 жыл бұрын
oh thank u so much........it works for me
@DarkCloud0000
@DarkCloud0000 Жыл бұрын
you saved my life :D
@ecomstories
@ecomstories Жыл бұрын
Thanks!
@t20sgrunt36
@t20sgrunt36 3 жыл бұрын
All the wrapper talk and the scrolling action like turntables. Total rapper and DJ joker opp
@istiaqsit283
@istiaqsit283 3 жыл бұрын
Thanks
@dimitrinho_
@dimitrinho_ 2 жыл бұрын
I was using (for example) width: 50vh instead percentages...always use percentages, that's my solution
@thesdfable
@thesdfable Жыл бұрын
okay how to disable vertical scroll??
@Webflow
@Webflow Жыл бұрын
If you want to disable the vertical scroll of a whole page, you can set an overflow of hidden to the BODY element.
@mytop4348
@mytop4348 3 жыл бұрын
Hey team webflow! Can you please make a video on how to do text partially placed on image in hero section means little bit of text is above the boundary of image. Can you please make a video on it? I need it
@deepakjha1200
@deepakjha1200 2 жыл бұрын
I try this, it's working but the when i scroll the website it was stucking not working smoothly like before 😖
@Webflow
@Webflow 2 жыл бұрын
Can you please post this issue on our community forum ( discourse.webflow.com ) . Don't forget to add your share link to the post ( university.webflow.com/lesson/share-your-project-and-invite-collaborators )
@aleksan9841
@aleksan9841 Жыл бұрын
Which edit site it is ? Browser?
@jmtech3608
@jmtech3608 2 жыл бұрын
Thanks' a loooooooooot😘😘😘
@trycehuffman5399
@trycehuffman5399 Жыл бұрын
I dont understand why they dont just let you do overflow-x hidden
@invisiblehandofadamsmith
@invisiblehandofadamsmith 7 ай бұрын
@AhmedSHassan
@AhmedSHassan 3 жыл бұрын
First like 👍🏽 & comment ❤️
@dextermorgan5326
@dextermorgan5326 4 ай бұрын
❤❤❤❤❤
@yosefsisay4878
@yosefsisay4878 2 жыл бұрын
I go mad by over flow.
Parallax image backgrounds, gradients, and video backgrounds
8:16
Fix Horizontal Scroll On Webflow
7:38
Flux Academy
Рет қаралды 34 М.
ISSEI & yellow girl 💛
00:33
ISSEI / いっせい
Рет қаралды 24 МЛН
КАКУЮ ДВЕРЬ ВЫБРАТЬ? 😂 #Shorts
00:45
НУБАСТЕР
Рет қаралды 3,4 МЛН
When you discover a family secret
00:59
im_siowei
Рет қаралды 15 МЛН
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 73 МЛН
The problems with viewport units
13:23
Kevin Powell
Рет қаралды 359 М.
Mobile Horizontal Scroll in Webflow using Overflow Auto
5:52
Derek Siu | Webflow & Web Design
Рет қаралды 9 М.
Unmask Sections While Scrolling in Webflow
5:32
Timothy Ricks
Рет қаралды 72 М.
Native Horizontal Scroll with Webflow Interactions
8:54
Timothy Ricks
Рет қаралды 27 М.
6 Webflow Micro Interactions You Can Clone Today
6:33
Arnau Ros
Рет қаралды 58 М.
The Framer Basics No One Explains (Until Now)
16:47
Framer University
Рет қаралды 41 М.
Responsive Horizontal scrolling in Webflow - Stream clip
19:29
Advanced interactions: Horizontal scroll in Webflow
9:55
Webflow
Рет қаралды 190 М.
ISSEI & yellow girl 💛
00:33
ISSEI / いっせい
Рет қаралды 24 МЛН