# Problem to open an overlay

**URL:** <https://community.penpot.app/t/problem-to-open-an-overlay/8262>\
**Category:** Ask the community\
**Created:** [March 26, 2025, 10:18am UTC](https://community.penpot.app/t/problem-to-open-an-overlay/8262 "2025-03-26T10:18:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TRM](https://avatars.discourse-cdn.com/v4/letter/t/b5ac83/32.png) [@TRM](https://community.penpot.app/u/TRM)\
**Post date:** [March 26, 2025, 10:18am UTC](https://community.penpot.app/t/problem-to-open-an-overlay/8262/1 "2025-03-26T10:18:28Z")

</div>

Hello,

I have a board called ‘Main’ to wireframe a webpage. Outside this board on the left there is another board as sidebar.  
Inside the board ‘Main’ there is a button to open the sidebar.  
In this sidebar there is another button. If I click that button I want to open an overlay at center of the board ‘Main’ (not the sidebar!).

 ![Image3](https://europe1.discourse-cdn.com/flex017/uploads/penpot/original/2X/e/e3d80671ff0925d11df825740cb5524e3005b9b1.png)

In the ‘Prototype’ section under ‘Relative-to’ there is no option to choose the board ‘Main’, only sidebar and Button (self).  
Only if I move the sidebar into the area of board ‘Main’ then I can choose ‘Main’ from ‘Relative to’:

 ![Image4](https://europe1.discourse-cdn.com/flex017/uploads/penpot/original/2X/7/712e2807e4393a30e096e9a67edd07198011ca2b.png)

It seems one can only choose the direct parent inside the ‘Relative to’ drop down, not the parent of the parent. How can I place the overlay centered to the board ‘Main’ please?

Thanks for any help!

​

​

​

​

---

<div class="post-metadata">

**Author:** ![LauraKalbag](https://dub1.discourse-cdn.com/flex017/user_avatar/community.penpot.app/laurakalbag/32/5014_2.png) [@LauraKalbag](https://community.penpot.app/u/LauraKalbag)\
**Post date:** [March 26, 2025, 10:22am UTC](https://community.penpot.app/t/problem-to-open-an-overlay/8262/2 "2025-03-26T10:22:11Z")

</div>

This is a workaround: If the size of your ‘Main’ board isn’t going to change, I would use _Manual_ from the _Position_ options so you can position the overlay exactly where you want it by dragging it into place.

---

<div class="post-metadata">

**Author:** ![TRM](https://avatars.discourse-cdn.com/v4/letter/t/b5ac83/32.png) [@TRM](https://community.penpot.app/u/TRM)\
**Post date:** [March 26, 2025, 10:49am UTC](https://community.penpot.app/t/problem-to-open-an-overlay/8262/3 "2025-03-26T10:49:37Z")

</div>

@LauraKalbag: Thanks, but since I want to get a responsive layout this won’t work.  
I think it would be nice if the development team can extend the list ‘Relative to’ to any of the boards inside a page, not only the direct parent.
