+ 37
How to disable scroll in x direction
I referred to the question in discussion section but sadly unable to find the answer to my query, as the solution given by the users didn't worked in my code I tried these methods: ---->body{ overflow-x: hidden; } Solved🎊🎊🎉 Thank you to all for giving your valuable time and helping me😊
31 Answers
+ 10
https://code.sololearn.com/W09rMYeT8J4r/?ref=app
Problem solved....
+ 30
ㅤㅤㅤㅤ ɒʞiʜꙅᴎA 🎵🎶 Check this one 👇
https://code.sololearn.com/WxS2i9n4ZGq4/?ref=app
+ 19
Mere code me overflow-x: scroll; replace Kar do
overflow-x: hidden; Kar do simple jaisa @namit ne Kaha hai
+ 13
Try this....
body{
overflow-x: hidden;
}
~Happy coding
+ 10
Love which works in sololearn
+ 10
Try this....
html{
overflow-x: hidden;
position:fixed;
}
+ 9
🤔
Try overflow-x:hidden;
Else:
You can dm me in case you can't share your code here, I will help you there!
+ 9
*{
overflow-x:hidded;
}
Try this
+ 9
Raj Srivastava nhi hua😥
+ 9
ㅤㅤㅤㅤ ɒʞiʜꙅᴎA 🎵🎶 share the code pls in DM or here
+ 9
Love nhi hua🥺😥
+ 9
🎸Prachi The Pari🎸 di mujhe full page ka x direction mein scroll disable krna hai
+ 9
ㅤㅤㅤㅤ ɒʞiʜꙅᴎA 🎵🎶 put everything in a div as I have told you earlier also!
+ 8
+ 8
Namit Jain usse 2 alag sections bn jaate hai jisse overlap hota hai😥
Waise ab solve ho gya
Thank you very much 😊😊
+ 8
ㅤㅤㅤㅤ ɒʞiʜꙅᴎA 🎵🎶 position fixed is the direct soln
+ 7
Overflow-x: hidden;
+ 7
U shld try overflow-x:hidden
+ 7
Naqab-Posh The INDIAN not working 😥