[Resolved] Insert a homepage link to the default LOGO in PC and mobile

Home Forums Support [Resolved] Insert a homepage link to the default LOGO in PC and mobile

Home Forums Support Insert a homepage link to the default LOGO in PC and mobile

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #821656
    Marcio Takayama

    Hello,

    I would like to add a home link in the LOGO image.

    I read some topics and I already installed Code Snippets plugin. Created a SNIPPET as follows:

    add_filter('generate_logo_href','generate_custom_logo_href');
    function generate_custom_logo_href()
    {
          return 'https://www.coisasdojapao.com/';
    }

    But nothing happened. Could you please help me?

    Marcio

    GeneratePress 2.2.2
    #821838
    David
    Staff
    Customer Support

    Hi there,

    the Site Logo automatically includes the home link. The problem is where you have used CSS to align the nav and the logo. The nav is blocking the logo from being clicked.

    Instead of using the Site Identity logo in the header you can use the Navigation Logo to place it:

    https://docs.generatepress.com/article/navigation-as-a-header/

    #821993
    Marcio Takayama

    Thank you David! Problem solved!

    #822005
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.