Module in Modal - Transparency and overlap issue

Hello,

Love this module, thanks. Would very much appreciate assistance on 2 issues:

1. I have the Transparent Mode turned to Yes, but I would like the make it less opaque. Could you please direct me on how to adjust the opacity to something a little less?

2. I have the module set to center on our home page, and it is overlapping with a Unite Nivo Slider Component on our site. When the slider changes slides, the Module in Modal gets covered over. Is there a solution to prevent this from happening?

Many thanks.
9 years 5 months ago #1 by Holly Hine

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5310) Offline
Hi,

1. I have the Transparent Mode turned to Yes, but I would like the make it less opaque. Could you please direct me on how to adjust the opacity to something a little less?

The transparent color is generated by php. To modify it you can override the code by copying this file :
modules/mod_moduleinmodal/tmpl/default.php
to
templates/your_active_template_name/html/mod_moduleinmodal/default.php

then open it with your php editor, arround line 208 you will see this code :
if($modaltransparent == "1") {
  $modalbgcolor = modmoduleinmodalHelper::hex2rgba($modalbgcolor,0.8);
} else {
  $modalbgcolor = $modalbgcolor;
}

try to change the 0.8 value into 0.9

2. I have the module set to center on our home page, and it is overlapping with a Unite Nivo Slider Component on our site. When the slider changes slides, the Module in Modal gets covered over. Is there a solution to prevent this from happening?

please try to add this css code to your css file
#moduleinmodal-mimodal .mimodal {
z-index:999!important;}
9 years 5 months ago #2 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Thanks so very much, your assistance on both issues have worked! Much appreciated. ;)
9 years 5 months ago #3 by Holly Hine

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5310) Offline
Nice. Glad we could help;)
9 years 5 months ago #4 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum