• Resolved u88257

    (@u88257)


    hello
    I was wondering if adjust logo size is possible?
    because when i upload my logo (about 900*120)
    it will shrink by it self
    any way to do it?
    Thanks!

Viewing 1 replies (of 1 total)
  • Use this code in your theme file where you want to show the logo :

    <?php
    
    	$logo_url = "https://www.example.com/wp-content/01/logo.png";
    
    	list($logo_width, $logo_height, $logo_type, $logo_attr) = getimagesize($logo_url);
    
    	echo '<img src="' . $logo_url . '" width="' . $logo_width . '" height="' . $logo_height . '" />';
    
    ?>
Viewing 1 replies (of 1 total)
  • The topic ‘Inkzine adjust logo size’ is closed to new replies.