Change logo url link


#1

Hi

I am trying to make the logo link to a specific page of the website other than the home page.

I am aware that it is rare, but it was a specific requirement. Can you help me?

Thank you!


#2

Hello, you can try to do this with jQuery.

  1. Please install and activate Insert Headers and Footers plugin that will allow you to insert JavaScript (jQuery) code.

  2. Go to your Dashboard → Settings → Insert Headers and Footers → add the following code to Scripts in Header section, and click Save button.

<script>
    jQuery(document).ready(function(){
        jQuery('#masthead .custom-logo-link').attr('href', 'https://example.com');
    });
</script>

Just replace https://example.com in code above with desired link.

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.


#3

Perfect, it works without any problem, extremely grateful for the quick answer.

Thank you very much!


#4

Great! You are welcome :slight_smile:

Kind Regards, Roman.


#5