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
Thread Starter
wlltat
(@wlltat)
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.