test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • simonljungberg Friend
    #194915

    When adding a bootstrap modal to a component it appears behind the backdrop. Can this be solved or is there another way to show modals in this template?

    phong nam Friend
    #523329

    Hi simon,

    The answer is Yes. As you know the .modal of Bootstrap will contain these properties:

    .modal {
    display: none;
    overflow: auto;
    overflow-y: scroll;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    }

    In order to solve the conflict and show modals on our templates, you just need to create a custom.css file at templates/ja_smashboard/css/ path and put these css rules into:

    .com_component .modal {
    display: block;
    overflow-y: hidden;
    position: relative;
    }

    .com_component is the folder name in /components/ of your installed component.

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  phong nam 10 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum