Solved

Broadcast Theme - Newsletter Popup Time

walter_charlie
Excursionist
14 1 1

Hi All, 

 

Would someone please be able to advise how to delay the newsletter pop up on Broadcast theme? Current it pop's up instantly and would be good to change it to 2 minutes. 

 

I have seen a similar answer for other themes but no luck translating to Broadcast!

 

Website URL: www.walteronthewall.com.au 

 

Any help appreciated 🙂

Accepted Solution (1)

walter_charlie
Excursionist
14 1 1

This is an accepted solution.

Posting answer from Theme Developer for future reference:

To delay the popup try the following steps.

First, create a theme duplicate to back-up.

Open the theme.js file.

In the code area, use the Find feature (Command-F on Mac, Control-F in Windows) and search for:

var $thisModal = $('#PromoModal')


Locate the line of code:

$thisModal.fadeIn('fast');

 


Replace that line of code with the following change the value 5000 to change the time. The unit is millisecond:


$thisModal.delay( 5000 ).fadeIn( 'fast' );

 


Save changes.

View solution in original post

Replies 9 (9)

JHKCreate
Shopify Expert
3571 639 916

Hi There!

I've just sent you a collab invitation so I can fix that for you, cheers!

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com
walter_charlie
Excursionist
14 1 1
Thank you so much - I appreciate the help!
walter_charlie
Excursionist
14 1 1

Hi there!

I just wanted to see how you were getting on with this? I approved the collaboration request 🙂 

Thanks in advance!

diego_ezfy
Shopify Partner
2935 562 883

@walter_charlie  still need help? 

◦ Follow my blog & youtube for coding tutorials. Most questions in here are already answered there!
◦ Top #4 Shopify Expert, 24h reply. Click here to hire me.
Download copy/paste code snippets that can replace most apps.

walter_charlie
Excursionist
14 1 1

Any help appreciated - are you familiar with making this change for the newsletter pop-up?

diego_ezfy
Shopify Partner
2935 562 883

@walter_charlie Yep, I am! Kindly send me an e-mail so I can assist you better:

diego.boarutto.fortes@gmail.com


◦ Follow my blog & youtube for coding tutorials. Most questions in here are already answered there!
◦ Top #4 Shopify Expert, 24h reply. Click here to hire me.
Download copy/paste code snippets that can replace most apps.

walter_charlie
Excursionist
14 1 1

Hi Diego - I have sent you a follow-up email. Are you still able to assist? 🙂 

MadamCaviar
Visitor
2 0 0

Hi K&J,

 

I have the same request. Can you please help me out with the same problem?

Thanks!

Nazanin 

Madam Caviar

walter_charlie
Excursionist
14 1 1

This is an accepted solution.

Posting answer from Theme Developer for future reference:

To delay the popup try the following steps.

First, create a theme duplicate to back-up.

Open the theme.js file.

In the code area, use the Find feature (Command-F on Mac, Control-F in Windows) and search for:

var $thisModal = $('#PromoModal')


Locate the line of code:

$thisModal.fadeIn('fast');

 


Replace that line of code with the following change the value 5000 to change the time. The unit is millisecond:


$thisModal.delay( 5000 ).fadeIn( 'fast' );

 


Save changes.