Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #872656
    Dewilliam
    Participant

    Hello, my logo in the Header (notre-logo.jpg) is clickable but the url behind it points to my site http://www.williams-corner.be
    I would like to change this to the original file of the logo.
    Where can I change this? The personalization does not permit to change the url of the logo.
    Thank you in advance for your time and answer.
    Kind regards,
    William
    URL: http://www.williams-corner.be
    WordPress v. 4.4.2
    The X v. 4.0.3
    Cornerstone 1.0.2

    #873444
    Nabeel A
    Moderator

    Hi there,

    Thanks for writing in! To change the logo link just add the following jQuery script in your Customizer via Appearance > Customize > Custom > Edit Global Javascript

    jQuery(document).ready(function($){
    	var image_src = $('.x-brand.img img').attr('src');
    	$('.x-brand.img').attr('href', image_src);
    });

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

    #979846
    Dewilliam
    Participant

    Hello, Sorry for the late answer but I went to the hospital for a while. Now I’m fine.

    Your code is amazing, just add it and it’s works directly!
    Thank you very much for the help.

    Kind regards,
    William

    #979943
    Rue Nel
    Moderator

    Hey William,

    You’re welcome!
    We’re glad we were able to help you out.

  • <script> jQuery(function($){ $("#no-reply-872656 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>