How to disable browser scrollbar, when lightbox is open

New Here ,
Mar 29, 2018 Mar 29, 2018

Copy link to clipboard

Copied

Hello,

I'm currently making a portfolio website with Adobe Muse. For my gallery I use lightboxes but unfortunately when I open it, there are two scrollbars, one for the browser behind and one for the lightbox itself. So I wanted to ask, if there is a possibility to disable the scrollbar for the browser, ONLY when the lightbox is opend and to make the scrollbar for the lightbox invisible but so that it is working.

Thank you very much in advance

Views

142

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct Answer

Guide , Mar 30, 2018 Mar 30, 2018
Unfortunately, that is not possible using Muse’s standard features. The code to temporarily disable the scroll bar would need to be run when the lightbox is triggered. It would be too difficult to do this independently.DavidCreative Muse

Likes

Translate

Translate
Guide ,
Mar 30, 2018 Mar 30, 2018

Copy link to clipboard

Copied

LATEST

Unfortunately, that is not possible using Muse’s standard features. The code to temporarily disable the scroll bar would need to be run when the lightbox is triggered. It would be too difficult to do this independently.

David

Creative Muse

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines