Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi.
Bootstrap theme use Ctools to implement Bootstrap modal. But Ctools modal z-index (1000) is different than original Bootstrap modal z-index (1040). When fixed top menu (z-index 1030) used, it appears above modal background and popup itself.
In latest dev version there was workaround: Allow modal to handle fixed navbar and have flexible height. (https://www.drupal.org/node/2404405)
But it will be better to fix modal z-index itself. User don't need to see fixed menu above popup. Such fix will be welcome for devices with small screens. Popup will appear on full screen.
Comment | File | Size | Author |
---|---|---|---|
#3 | bootstrap-fixed_menu_modal_zindex-2457417-3.patch | 2 KB | AlexKirienko |
Comments
Comment #1
AlexKirienko CreditAttribution: AlexKirienko at WikiJob commentedPlease check attached patch.
Comment #2
markhalliwellJust make the comment block say:
It is pretty self evident what the code is doing.
Why is
!important
here? Is this really necessary?Comment #3
AlexKirienko CreditAttribution: AlexKirienko at WikiJob commentedThank you for quick feedback.
> 1. Please, do not include the compiled CSS
Thank you, I didn't know about it.
>2. Just make the comment block say:
I have checked other comments above. They all have different format. I have done comment in same way as previous comments in this file.
>3. Why is !important here? Is this really necessary?
Ctools use inline style. Without
!important
this override will not work.Please check updated patch.
Comment #4
AlexKirienko CreditAttribution: AlexKirienko at WikiJob commentedNo need commit this patch. I have better approach. I will publish it soon.
Comment #5
AlexKirienko CreditAttribution: AlexKirienko commented