Solved

Cannot create scrolling textbox?

  • 23 December 2020
  • 5 replies
  • 23 views

Hi,
I’m trying to put my terms and conditions in a scrollable lightbox (the content does not fit within the lightbox boundaries). I’ve tried applying CSS to the textbox, and also the lightbox itself, and also the page body. Nothing is working.

I have tried:

.box-scroll {
overflow:‘scroll’;
}
< /style>

and also:
< script>
document.body.style.overflow = ‘scroll’;
< /script>

(Added spaces in the script tags so that it would show up as plain text)
Please help! I don’t have good knowledge of coding, and I can’t find anything on the Unbounce forums.

icon

Best answer by Nicholas 23 December 2020, 15:54

View original

5 replies

Userlevel 7
Badge +4

Hi, do you have a published page link you can share so I can take a look at what you have so far?

Thanks!

Userlevel 7
Badge +4

Hi Julia, here’s a video that should help you solve this: https://www.loom.com/share/d3539105ad3645b58b1d1e1be2eeb5b6

Regards,

Thank you Nicholas, that worked perfectly!

Userlevel 7
Badge +4

Awesome! Glad that worked.

Reply