Tagged: cornerstone
-
AuthorPosts
-
August 19, 2016 at 8:39 am #1138279
I’ve searched the forum and tried putting in two sets of JS code, but neither worked for my website. I am not using X Theme, but I am using Cornerstone. One of the JS Code snippets I used is below. Anything else I can try?
http://youngnichols.blackfrogdesigns.com/grief-healing/
jQuery(document).ready(function($){
$(‘.x-card-outer .x-face-content a.x-face-button’).each(function(){
$(this).attr(‘target’, ‘_blank’ );
});
});August 19, 2016 at 1:34 pm #1138587Hi there,
Try adding the following JavaScript code into your Customizer, Custom > JavaScript section.
jQuery(document).ready(function($){ $('.x-card-outer .x-face-content x-face-button').each(function(){ $(this).attr('target', '_blank' ); }); });
Hope that helps.
November 7, 2016 at 5:41 am #1246921Hi Darshana,
I pasted that into the customizer and hit save, but my card buttons are still not opening the links in a new tab. Have I pasted the attached code in correctly?
November 7, 2016 at 5:46 am #1246930Hi @villageenergy1,
In this case, would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link login to your site
– WordPress Admin username / PasswordDon’t forget to select Set as a private reply. This ensures your information is only visible to our staff.
Thanks.
-
AuthorPosts