Dropdown menu above elements

I created a reusable menu with a list-shaped icon that triggers a dropdown menu (floating group menu). The floating group is inside this reusable element. On the index page, when I click the list-shaped icon, the dropdown menu that appears should be above the page elements, but those elements end up appearing above the dropdown menu. I’ve already tried several ways to fix this with ChatGPT, but nothing seems to work—except maybe creating a menu for each page (I might have to give up on the reusable menu). Do you have any idea for a solution? Thanks!