• Hi there. Whenever I try to add a logo to my site it appears really small and I can’t seem to adjust the size – it seems like the theme is restricting the dimensions. Is there any way of adjusting this?

    Also, when I do use a logo it removes the title and tagline, even when the ‘Display Site Title and Tagline’ box is ticked. Again, am I missing something?

    Thanks for your help.

    Daniel

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    If you have a larget logo for your site, to avoid limited size applies, you can add this CSS code to Appearance > Customize > Additional CSS from dashboard.

    .custom-logo-link img {
       max-height: 150px;
    }

    Adjust 150px to any number that meets your need.

    > Also, when I do use a logo it removes the title and tagline, even when the ‘Display Site Title and Tagline’ box is ticked. Again, am I missing something?

    For design purpose, the theme won’t display plain text for site title and description when the logo is enabled. To show them altogether, add this function to your child theme’s functions.php file.

    function astrid_branding() {
    	
    		$site_logo = get_theme_mod('site_logo');	
    		echo '<a href="' . esc_url( home_url( '/' ) ) . '" title="' . esc_attr(get_bloginfo('name')) . '"><img class="site-logo" src="' . esc_url($site_logo) . '" alt="' . esc_attr(get_bloginfo('name')) . '" /></a>'; 
    		echo '<h1 class="site-title"><a href="' . esc_url( home_url( '/' ) ) . '" rel="home">' . esc_html(get_bloginfo('name')) . '</a></h1>';
    		echo '<p class="site-description">' . esc_html(get_bloginfo( 'description' )) . '</p>';
    
    }

    Hope this reply helps.

    Hi! Congratulations on your services and your quick help. I am writing to you, because I also have the same problem. I tried to insert the CSS code but the proportions of the logo remain small. (it is not a logo, but an inscription (example “name surname profession” on the same line but with different colors) in png format. Thank you very much for your reply

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Logo too small and replaces title and tagline’ is closed to new replies.