# ImgModal: how to scroll without scrollbar?

**URL:** <https://colorlibsupport.com/t/imgmodal-how-to-scroll-without-scrollbar/31129>\
**Category:** Uncategorized\
**Created:** [December 31, 2021, 2:28pm UTC](https://colorlibsupport.com/t/imgmodal-how-to-scroll-without-scrollbar/31129 "2021-12-31T14:28:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![fieldbicycle](https://colorlibsupport.com/user_avatar/colorlibsupport.com/fieldbicycle/32/9994_2.png) [@fieldbicycle](https://colorlibsupport.com/u/fieldbicycle)\
**Post date:** [December 31, 2021, 2:28pm UTC](https://colorlibsupport.com/t/imgmodal-how-to-scroll-without-scrollbar/31129/1 "2021-12-31T14:28:23Z")

</div>

How can I change some CSS or JS in orther to get my [enlarged picture](https://www.veldfiets.nl/blog2021.php), scrollable, and not with a scrollbar on the right, but with the mousewheel? Bootstrap 4.  
What happens now: the page below the enlarged image scrolls instead of the enlarged picture: one can see two srcrollbars, the main page is moving on scrolling with mousewheel.

CSS now:  
/\* Zoom Modal (enable scroll) \*/  
#ImgModal {  
display: none;  
position: fixed;  
top: 0;  
left: 0;  
width: 100%;  
height: 100%;  
padding: 90px 15px 0 15px;  
overflow: auto;  
z-index: 999;  
background-color: rgb(0,0,0);  
background-color: rgba(0,0,0,0.9);  
}

Thanks for any suggestion.

---

<div class="post-metadata">

**Author:** ![colorlibsupport](https://colorlibsupport.com/user_avatar/colorlibsupport.com/colorlibsupport/32/1494_2.png) [@colorlibsupport](https://colorlibsupport.com/u/colorlibsupport)\
**Post date:** [January 3, 2022, 6:21am UTC](https://colorlibsupport.com/t/imgmodal-how-to-scroll-without-scrollbar/31129/2 "2022-01-03T06:21:23Z")

</div>

Hi there

Is this our template? may I know which template?

---

<div class="post-metadata">

**Author:** ![fieldbicycle](https://colorlibsupport.com/user_avatar/colorlibsupport.com/fieldbicycle/32/9994_2.png) [@fieldbicycle](https://colorlibsupport.com/u/fieldbicycle)\
**Post date:** [January 3, 2022, 7:41am UTC](https://colorlibsupport.com/t/imgmodal-how-to-scroll-without-scrollbar/31129/3 "2022-01-03T07:41:57Z")

</div>

This is the part of the zoom of ImgMod-CSS script. It says -enable scroll -, but this is a copied, default, text I think (the person who made the site, is not available at this moment), the body behind it, scrolls on using the mousewheel.The issue is that I have a small screen, most have big screens: won’t be a big problem (which is’t indeed). I have not enough knowledge how to handle with care, I would say, the solution for it: there are enough suggestions, but I am not succeeded. Therefor… You may substract the whole page source from the site itself.

---

<div class="post-metadata">

**Author:** ![colorlibsupport](https://colorlibsupport.com/user_avatar/colorlibsupport.com/colorlibsupport/32/1494_2.png) [@colorlibsupport](https://colorlibsupport.com/u/colorlibsupport)\
**Post date:** [January 4, 2022, 4:20am UTC](https://colorlibsupport.com/t/imgmodal-how-to-scroll-without-scrollbar/31129/4 "2022-01-04T04:20:41Z")

</div>

Hi

It’s not our product I guess, so, you need to contact the creator of this script for support

Regards

---

<div class="post-metadata">

**Author:** ![fieldbicycle](https://colorlibsupport.com/user_avatar/colorlibsupport.com/fieldbicycle/32/9994_2.png) [@fieldbicycle](https://colorlibsupport.com/u/fieldbicycle)\
**Post date:** [January 4, 2022, 12:37pm UTC](https://colorlibsupport.com/t/imgmodal-how-to-scroll-without-scrollbar/31129/5 "2022-01-04T12:37:59Z")

</div>

Ok. Can I remove these posts somehow?

---

<div class="post-metadata">

**Author:** ![colorlibsupport](https://colorlibsupport.com/user_avatar/colorlibsupport.com/colorlibsupport/32/1494_2.png) [@colorlibsupport](https://colorlibsupport.com/u/colorlibsupport)\
**Post date:** [January 5, 2022, 7:32am UTC](https://colorlibsupport.com/t/imgmodal-how-to-scroll-without-scrollbar/31129/6 "2022-01-05T07:32:32Z")

</div>

Yes, try to delete them 🙂

If you just want to remove the links edit it and remove the links
