Forum Replies Created
-
AuthorPosts
-
mos-tonyMember
Miraculously, not being a technical person at all, I found - on my own just now - a super-simple solution how to add animated GIF as a logo.
Steps:
Step 1.
... in functions.php file look for these lines:
//* Add support for custom header
add_theme_support( 'custom-header', array(
'header_image' => '',
'header-selector' => '.site-title a',
'header-text' => false,
'height' => 55,
'width' => 270,Now, Pay attention to:
'height' => XX,
'width' => XXX,Original theme Modern Portfolio pro has "90" for height and "300" for width of the image. These size numbers are reflected in admin panel under Appearance >> Header >> Custom Header.
Step 2.
2.1. : Change these height and width numbers in functions.php file to exact size of your animated gif logo (and upload your animated gif logo to media library, name is not important)
2.2. : Save functions.php file with these changes and upload via FTP to replace a theme functions.php file on the server.
Step 3.
After Step 1 you will see that original numbers (in my theme they were 300 and 90 px) miraculously changed to whatever new size you put in functions.php file in Step 1!
All you have to do is now to select from the media library the animated gif of your preferred size and that's it - it will now appear as you logo on the left and will be, well, animated!
And gurus told me it was not possible, googling also seem to offer complicated solutions... I hope this is helpful to the community!
-
AuthorPosts