Is it possible to remove the vertical scroll bar on Wix Studio-produced websites? My current Wix Studio website has a white vertical scroll bar on the right side that breaks full-width images and is distracting. This is especially the case for darker photos, videos, or dark themed websites. Thanks!
This will work adding to custom code to Body - end
<style>
::-webkit-scrollbar{
display:none;
}
</style>
Thanks for the response and link! I have used this custom CSS code successfully to remove the vertical scroll bar from my Wix âClassicâ websites since 2021. But can I also do this in Wix Studio websites? Right now, I cannot even see the CSS code tab on my Wix Studio site.
Thanks Dan! The layout is a little different in Wix Studio. But I was able to navigate to the CSS code window via this Settings>Advanced>Custom Code method. Was able to enter the custom code and now my vertical scroll bars are gone!
Hey! just wanted to solve this issue, but havenât found the way to do it. Iâm working with VS Code, I can only add the class via âcustomClassList.addâ as I canât access to the pageâs HTML.
Iâve used ChatGPT to find the way to reference to the âBodyâ, but he has struggled to find a solution. He proposed the following code⌠but doesnât work.
CSS
.hide-scrollbar {
overflow-y: auto !important;
}
Javascript
$w('Document').html.body.customClassList.add('hide-scrollbar');
The error: âProperty âhtmlâ does not exist on type âDocumentâ.tsâ
Iâve tryed also $w("#page1").customClassList.add("hide-scrollbar");
, but doesnât work.
Any suggestion?
Thanks in advance
Is there other way ? For me it says that I have to connect to a domain first to be able to access custom code