- This topic has 1 reply, 2 voices, and was last updated 6 years, 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › Easy Commerce Pro › How to add newsletter sign up on the top bar
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?
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:
Hope this helps.
Best Regards!!
Have a good day.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |