Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #862458

    mhbmartijn
    Participant

    Hi there!

    Can you help me with putting _target blank for the back button link. The codes in other posts don’t work for me.

    Thanks!

    #862459

    mhbmartijn
    Participant
    This reply has been marked as private.
    #863107

    Nabeel A
    Moderator

    Hi There,

    Thanks for writing! Please add the following jQuery script in your Customizer via Appearance > Customize > Custom > Javascript

    jQuery(document).ready(function($){
    	$('.x-card-outer .x-face-content a.x-face-button').each(function(){
    		$(this).attr('target', '_blank' );
    	});
    });

    Don’t forget to clear your browser’s cache after adding the code. Let us know how this goes!

    #863729

    mhbmartijn
    Participant

    It works! And I have put the code before in css instead of javascript, but this is new option isn’t it?

    Okay super thanks !!

    #864266

    Rue Nel
    Moderator

    Hello There,

    Thanks for letting us know that it works for you. The custom JS section is already there. Before it was just a simple textarea and now we changed it to a new look.

    If you need anything else we can help you with, don’t hesitate to open another thread.