Dimming the background - Module in Modal

  • Posted by Vladimir Todorov (4) Offline
Hello, is there a possibility to dimming the background - Module in Modal?
And closing the modal by clicking outside?
Regards,
Vl. Todorov
10 years 3 months ago #1 by Vladimir Todorov

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

  • Posted by TemplatePlazza (5310) Offline
Hi vlato can you tell me what do you mean by dimming the background? Did you mean something like this ? demo.templateplazza.com/joomla/index.php/jbounce
10 years 3 months ago #2 by TemplatePlazza

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

  • Posted by Vladimir Todorov (4) Offline
Dark semitransparent layer around the modal window.
Now i need to give color to the modal window to become clearly visible.
10 years 3 months ago #3 by Vladimir Todorov

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

  • Posted by TemplatePlazza (5310) Offline
Ah ok. Please open the module in modal backend, and add this code in the Additional CSS field
#moduleinmodal-mimodal .mimodal {
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
10 years 3 months ago #4 by TemplatePlazza

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

  • Posted by TemplatePlazza (5310) Offline
Ups, sorry mistypo, I have updated the code above
10 years 3 months ago #5 by TemplatePlazza

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

  • Posted by Vladimir Todorov (4) Offline
Thanks for the quick response.
I had in mind something like the attached image, not just a shadow.
And closing the window by clicking over dark area.
10 years 3 months ago #6 by Vladimir Todorov

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

Powered by Kunena Forum