# Finsweet Modal pop-up query

**URL:** <https://forum.finsweet.com/t/finsweet-modal-pop-up-query/2695>\
**Category:** General\
**Created:** [March 28, 2024, 10:26am UTC](https://forum.finsweet.com/t/finsweet-modal-pop-up-query/2695 "2024-03-28T10:26:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tinwid](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/tinwid/32/846_2.png) [@tinwid](https://forum.finsweet.com/u/tinwid)\
**Post date:** [March 28, 2024, 10:26am UTC](https://forum.finsweet.com/t/finsweet-modal-pop-up-query/2695/1 "2024-03-28T10:26:09Z")

</div>

Hi everyone,

I’m finishing a website for a client and I’m currently struggling to understand one of the behaviours. At desktop breakpoints, once clicked on the photo of the team member of the practice, we get a pop up and darker background to the whole page. However, on the tablet and mobile, that background doesn’t stretch to the top of the menu for some reason… Is there anyone that could advise on why this behaviour is happening?

Here’s the link to the read-only website: [Website Read-Only](https://preview.webflow.com/preview/jas-bhalla-works?utm_medium=preview_link&utm_source=designer&utm_content=jas-bhalla-works&preview=2c32b463a142e064df598b2d5b6dc8b3&pageId=65ca07a60cba9edcb6c13a9f&locale=en&workflow=preview)

Thank you and all the best,  
Adam

---

<div class="post-metadata">

**Author:** ![Marc](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/marc/32/1583_2.png) [@Marc](https://forum.finsweet.com/u/Marc)\
**Post date:** [March 28, 2024, 11:29am UTC](https://forum.finsweet.com/t/finsweet-modal-pop-up-query/2695/2 "2024-03-28T11:29:37Z")

</div>

Do you have a staging link? I think the behavior can only be witnessed on the published site, not in Preview in the Designer.

Edit: sorry, my bad. It IS working in Preview mode. Gimme a sec.

---

<div class="post-metadata">

**Author:** ![Marc](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/marc/32/1583_2.png) [@Marc](https://forum.finsweet.com/u/Marc)\
**Post date:** [March 28, 2024, 11:44am UTC](https://forum.finsweet.com/t/finsweet-modal-pop-up-query/2695/3 "2024-03-28T11:44:34Z")

</div>

I’d start by creating a clean page structure and removing the CMS binding until you have it working with just a static modal across all breakpoints.

Then, once this is working, move the part and inside a CMS collection.

---

<div class="post-metadata">

**Author:** ![tinwid](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/tinwid/32/846_2.png) [@tinwid](https://forum.finsweet.com/u/tinwid)\
**Post date:** [March 28, 2024, 2:33pm UTC](https://forum.finsweet.com/t/finsweet-modal-pop-up-query/2695/4 "2024-03-28T14:33:56Z")

</div>

hi Marc, thanks a lot for a prompt reply! Why do you think it’s better to remove the CMS binding to begin with?

I will take upon your advice and look into making the modal working without CMS first. At the beginning, I thought it was something to do with z-index settings- but that would affect all breakpoints, not just tablet/mobile.

---

<div class="post-metadata">

**Author:** ![Marc](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/marc/32/1583_2.png) [@Marc](https://forum.finsweet.com/u/Marc)\
**Post date:** [March 29, 2024, 3:45pm UTC](https://forum.finsweet.com/t/finsweet-modal-pop-up-query/2695/5 "2024-03-29T15:45:41Z")

</div>

@hello26 It’s just a common approach to strip away anything unnecessary, when debugging, to ensure the thing is working in its basic form (but in your environment). By doing so, you won’t have to deal with multiple potential issues.

After you ensure that the modal is working after you took/pasted it from the Library (on all breakpoints) start adding your modifications step-by-step and always test in between to ensure it still works.

By doing so, you can find the potential step/part that might be causing the problem. Good luck!
