Home Forums Pro Themes Easy Commerce Pro How to add newsletter sign up on the top bar

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #67439
    Sharon Caren
    Participant

    Hi,

    On our website (https://www.sharonthehealth.com) we would like to add “Sign up for our newsletter” and a sign up button. How do we do that?

    Also, we added a sign up to our newsletter button on our slider, but as soon as they click the button they go to a different page and away from our website. How do we lead them open up a new window when they click the button, so they wouldn’t leave our website?

    #67446
    wensolutions
    Keymaster

    Hello @sharoncaren,

    In the theme there is no feature to add the sign-up button on the slider, so please explain further or provide the reference so that we can inspect further.

    Since the sign-up button is placed in the footer through the widget CTA, we will provide the custom JS so that when clicking the button will open the link in new tab.

    To add the js please activate the plugin given below :

    https://wordpress.org/plugins/custom-css-js/

    After activating the plugin, please paste below give JS code in the plugin.

    <script type="text/javascript">
    
    jQuery(document).ready(function( $ ){
    
      $('a.custom-button.btn-call-to-action').attr('target','_blank');
    
    });

    For reference, please take a look at the screenshot below:

    https://prnt.sc/iod91o

    Hope this helps.

    Best Regards!!

    Have a good day.

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