Support » Theme: Match » Changing Site brand text with image

  • hardcoredesign

    (@hardcoredesign)


    Hi, I like to change Site brand text with image/logo/. How can I do it? Thank you!

Viewing 1 replies (of 1 total)
  • I’m not sure about what you really want. If you are looking for an image instead of a text in the header, you have to create a child theme, download the header.php file, upload your logo, and replace the bloginfo(‘name’) by your image file. Something like this :

    Replace default site-title :
    <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>

    By this :

    <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><img src="you-image-path" alt="your-image-alt"></a>

Viewing 1 replies (of 1 total)
  • The topic ‘Changing Site brand text with image’ is closed to new replies.