News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Trouble with a modal on a php page inside SMF

Started by rcane, September 05, 2024, 12:46:00 PM

Previous topic - Next topic

rcane

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.

Advertisement: