• Resolved odiez

    (@odiez)


    I have a button that opens my form so users can fill in their info. the problem is, when the form open, the focus of the form is not 100% it shows my next module data on top of my form

    .mailpoet-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99999; /* Higher value if necessary */
    }

    .mailpoet-popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    max-width: 600px;
    width: 90%;
    z-index: 100000; /* Ensure this is higher than any other elements */
    }
    <script>
    function openMailPoetPopup() {
    document.getElementById('mailpoetPopup').style.display = 'block';
    document.body.style.overflow = 'hidden';
    }

    function closeMailPoetPopup() {
    document.getElementById('mailpoetPopup').style.display = 'none';
    document.body.style.overflow = 'auto';
    }

    window.onclick = function(event) {
    var popup = document.getElementById('mailpoetPopup');
    if (event.target == popup) {
    closeMailPoetPopup();
    }
    }
    </script>

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter odiez

    (@odiez)

    Got it fixed

    Plugin Support Saravanan S, a11n

    (@simplysaru)

    Hi @odiez , Wow, you are quick.

    Before we could get back to you after the Holidays, you solved this on your own.

    Thanks for marking the issue resolved. You are welcome to share your solution if you are comfortable with it. Thanks.

    Well no.? Its definatly not solved.? I posted it on the forum because I’m still having trouble.? I got into phpmyadmin and tried to hunt down the table where that page lives but had no luck.?I was going to just delete one of the two mailpoet_page records.

    Im not entirely sure I’m on the right track. I know that there is a nuclear option to reset mailpoet as if from scratch. It just seems like someone might have seen this before.

    Plugin Support Saravanan S, a11n

    (@simplysaru)

    Hey there,

    Looks like you posted in the wrong thread, perhaps? You aren’t the person who started this thread. Could you create your own forum thread to get help with your issues and not use other support questions. This will help everyone stay focussed on the topic at hand. Thanks for understanding.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.