Tagged: x
-
AuthorPosts
-
April 14, 2016 at 2:57 am #881704
RifftParticipantHey guys,
One more time, thanks a for your work and your support. This theme keep surprising me.
You will find in the next post my credentials.I would like to delete the link in Creative CTA and Card.
#1 – Creative card – I’m using the creative CTA just for the animation and i would like to delete the link to make it unclickable. (first row – three colors blocks)
#2 – I’m using the card to introduce our mobile application, just above the footer. For now, our app is not available so i use the back button to say “Coming soon” but there is a link on it. For now, i would like to desactivate it and put it back when i’ll have a link.
One solution could be that the “coming soon” text could appears as back title or back text. But because i modified the card to no show the title and text in the front, i’m kind of lost and have no idea about how to do that.Thanks for your help !
April 14, 2016 at 2:58 am #881707
RifftParticipantThis reply has been marked as private.April 14, 2016 at 7:13 am #882063
ZeshanMemberHi there,
Thanks for writing in!
#1: To disable the link, first add a custom CSS class of disable-link to each of your Creative CTA elements under Class field of its settings (see: http://prntscr.com/7qeolc). Then add following code under Custom > JavaScript in the Customizer:
jQuery(document).ready(function($) { $('a.disable-link').click(function(e){e.preventDefault();}) });#2: Just like #1, add a custom CSS class of disable-link under each of your card element and then add following code under Custom > JavaScript in the Customizer:
jQuery(document).ready(function($) { $('.disable-link .x-face-button').click(function(e){e.preventDefault();}) });Thank you!
April 15, 2016 at 3:42 am #883897
RifftParticipantIt works perfectly, thanks a lot guys !
April 15, 2016 at 11:12 am #884464
JackKeymasterYou’re most welcome!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-881704 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
