Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: rcane on September 05, 2024, 12:46:00 PM

Title: Trouble with a modal on a php page inside SMF
Post by: rcane on September 05, 2024, 12:46:00 PM
I'm running a custom page that has template_footer() and header() on it for a nicer presentation.

It's just a small html table, with a modal on a field of data that shows a few bits of text when clicked.

It looks great, but if the modal is tall enough (due to content) and I scroll upward, the SMF logo, searchbar, and top menu items are indexed above it.
The modal has full opacity and a z-index of 1000.

Anyone run across this?


I did find a 'solution' to keep the modal only about 50ev in height which kept it from floating over the top of the SMF and gave a nice scroll bar in the modal too.