Okay
  Public Ticket #341090
Logo widht & heigt
Closed

Comments

  • Cepkolik started the conversation

    Hi there,

    logo width and no height in seo tools gives warning.

    and Alternative text missing for logo.png

    How to fix ?

  •  93
    djwd replied

    Hi there,

    you should set it in header.php manually if you wish to set an "alt" attribute and specify the size also. More info about this can be found by performing a web search since it's basic HTML though.

    Regards 

    djwd

    Regards
    djwd

  • Cepkolik replied

    I do not know html, could help you be ?

    Thanks

  •  93
    djwd replied

    This actually goes beyond regular support. Anyway search for this string in header.php and just add the alt attribute at the end, as such:

    <img src="<?php echo of_get_option('pm_logo'); ?>" width="<?php echo $width; ?>" height="<?php echo $height; ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?> alt="HERE GOES YOUR ALT CONTENT"/>

    Hope it helps

    Regards
    djwd

    Regards
    djwd