BuddyBoss Home – Web Support Forums Themes Boss. theme Change the link of the Logo in the header, other than homepage

Viewing 4 posts - 1 through 4 (of 4 total)
  • Question

    #66539
    @dag-roberto

    Hi

    I will like to change the logo link other than the homepage

    Answers

    #66565

    Anonymous
    @

    Hi @dag-roberto, To change the logo url you need to edit the header-logo.php in your child theme.

    Copy the header-logo.php from boss/template-parts/header-logo.php (main theme) and paste it in your child theme at same path : boss-child/template-parts/header-logo.php

    And edit the line 25, <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">

    Put your custom url instead of <a href="<?php echo esc_url( home_url( '/' ) ); ?>

    Regards

    #66930
    @dag-roberto

    Thanks @pallavi

    What about the logo in the mobile view? I edited the header-logo.php but the link in the mobile view remain the same

    #66934

    Anonymous
    @

    Hi @dag-roberto, Please do the required changes in boss-child/template-parts/header-mobile.php
    between line no. 20 to 27

    Regards

Viewing 4 posts - 1 through 4 (of 4 total)
  • The question ‘Change the link of the Logo in the header, other than homepage’ is closed to new replies.