Tagged: x
-
AuthorPosts
-
November 25, 2016 at 9:33 pm #1271211
Glad we could help, Cheers!
December 4, 2016 at 9:31 am #1280516HI again,
In this thread we have discussed have to add a CTA to the top navigation bar by creating a new file under my child theme; _nav-primary.php – location: \x-child\framework\views\global\.
The button works great! I was just wondering if there’s a way to have a a different button on just one separate page? Or not have the button visible at all for that page?
Thanks for your help!
Ann
December 4, 2016 at 3:11 pm #1280716You’re welcome!
December 4, 2016 at 3:40 pm #1280737Hi Rad,
Can I have a different CTA button for one specific page only?
December 4, 2016 at 8:04 pm #1281005Hello Ann,
Yes, that is possible. Please share the site URL where you want different CTA button. Then give us a screenshot on how you want it to look on this specific page.
December 5, 2016 at 12:09 am #1281181Sweet!!
So on this page: https://moveu.com/free-program/ and I would like the button in the top right corner to look the same but link to this address: https://sso.teachable.com/secure/83488/users/sign_up and say: Get Free Access
Thanks guys!!!
Ann
December 5, 2016 at 12:27 am #1281187Hi,
You can add this under Custom > Edit Global Javascript in the Customizer.
jQuery(document).ready(function($){ $('.page-id-10951 .cta-btn').attr('href','https://sso.teachable.com/secure/83488/users/sign_up').html('Get Free Access'); });
Hope that helps.
December 5, 2016 at 12:31 am #1281190Worked perfectly!!
Thank you so much 🙂
December 5, 2016 at 12:43 am #1281199You are welcome!
Glad that it helped. Feel free to let us know if you face any other issue. We’ll be happy to assist you.
Thanks for using X.
Cheers!
-
AuthorPosts