Support » Plugin: Hustle - Pop-Ups, Slide-ins and Email Opt-ins » HOW TO REDIRECT CLOSE BUTTON TO URL?

  • The current Popup Plugin that I use lets the users redirect to a page when the user clicks close button of the popup.

    How can I do that in Hustle? Is there a CSS code that I can use?

    I want that when the visitor clicks on the close icon it redirects to a page on my website in new tab.

    I am just using text popup and not some form popup.

    Please help. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Nastia – WPMU DEV Support

    (@wpmudev-support9)

    Hello @wlltat

    Hope you are doing well!

    Out of the box, it is not possible to redirect a visitor when a pop-up is closed. As a workaround please add a Call To Action (CTA) button that will do this instead. You may hide the Close Icon with CSS, to force visitors to click on a CTA button.

    Please, edit a pop-up content. Enable “Show call to action button” add button name and redirect URL. Please see this screenshot:
    https://monosnap.com/file/I2FpvY76lxKzmZVr8lX2LWRimI0nRr

    In Display Settings, enable Clicking on the background does not close Pop-up option :
    http://take.ms/icywX

    Please use this CSS to hide the close icon:

    .hustle-modal-close {
    display:none;
    }

    Add the CSS to Appearance > Customize > Additonal CSS.

    Hope this helps!

    Cheers,
    Nastia

    Thank you very much for your workaround. I would have used it but I faced other issues.

    ISSUE:
    I set two slide ins- One ONLY for desktop and other ONLY for mobile. (both had different content.)

    Now I use cache plugins like Autoptimize and WP Fastest Cache.

    Now, say a page http://www.example.com/wp is opened first on computer (then cache plugins make this page’s cache.)
    Now even a visitor on mobile visiting http://www.example.com/wp sees the slider that was meant only for computer. (and he does not see the slider meant for mobile.)

    Now if someone visits http://www.example.com/wp for the first time on mobile and then if someone else visits that on computer then mobile slider is also shown on computer.
    I know this is happening because of popup plugins.

    So I really liked the look of Hustle but as of now I have started using Boxzila for sliders and Popup by Suspysctic for Popups. (These two do not have the above mentioned issue.)

    I hope you fix this and then I will surely try Hustle once again.

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