Content Modal request

Hi,

I noticed that when editing a page in Pro that when you click on a Content Modal it opens the modal itself by default. What are your thoughts on disabling that and instead have the modal itself pop up when clicking twice, or just by clicking ‘Modal’ in the set up?

Howdy, @yingfuli! Thanks for writing in, and these are some great thoughts. We definitely have some plans to add more behavioral changes to the Preview Manager dropdown now available in the latest version of the builders, and adding to some of the features we’ve introduced there like ignoring Element Conditions or disabling Scroll Effects. We don’t have an exact mechanic worked out at the moment, but we do plan on finding some way to manage how those modals appear with a little more granularity. Fortunately, there are ways around this behavior as you mentioned earlier. Namely, if you inspect anything from the Outline view, it will not inadvertently bring up the modal, but we do also need to keep a way for the modal to be made visible in the preview so it can be styled accordingly. For now things will remain the way they have always been, but we do hear you and do plan on introducing some more control over this behavior.

Cheers!

Thanks for the reply. While we’re at it: I have a peculiar issue with my modal. On this site - http://grafipointboxmeer.nl.transurl.nl - I’m working on I have made several modals for product groups but when viewed in Mobile Phone mode the first modal does not center where the others do. See attached screenshots. Tried everything, even have a preset modal ánd column but it persists. Could you take a look?

Hello @yingfuli,

To get this resolve, please insert this custom CSS into the Page’s Custom CSS section:

@media(max-width: 767px){
    .x-modal .x-modal-content-inner {
        padding-left: 10% !important;
        padding-right: 10% !important;
    }
}


Hope this helps. Kindly let us know how it goes.

That helped, thanks!

You are most welcome @yingfuli.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.