Home Forums Themes Support Graneon Displaying the site title as the logo

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9361
    bobenvato
    Supported

    Hello, I’d like to know if there is a way to display the site title as the logo instead of an image.

    Thank you!

    #9365

    Hi,
    Thanks for contacting us and choosing our product!
    Currently we don’t support this function and the easiest solution you should create an image to use as Logo.
    However if you really want to do it you can go to: wp-content/themes/graneon/templates/header/ then open file header-logo.php
    You can go to line 129 to 148 and replace the code from:
    <img src="<?php echo esc_url($logo_url); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?> - <?php bloginfo( 'description' ); ?>" style="max-height: <?php echo esc_attr( $logo_max_height ); ?>px" />
    to
    <h6 class="logo-text"><?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?></h6>
    then go to Appearance -> Customize -> Additional CSS and add CSS code for Logo text:

    .logo-text {
        font-size: 24px;
    }

    Similar in file: wp-content/themes/graneon/templates/header/header-mobile-template.php replace the code similar on line 100 & 124.
    You can do it via child theme follow this topic:

    How to customize WordPress theme using Child theme


    Hope this helps!

    ****
    Regards,
    HaruTheme

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.