I just switched to Genesis (Modern Portfolio Pro) and would like to use my animated GIF file as logo.
It worked just fine in my previous theme (WP Brilliance by Solostream).
Could please gurus help me how to put my animated gif logo in Genesis? I see lots of advice on static logo.png files, but nothing on animated gifs… There are several threads on “animated GIF” - but none seem to be giving any detailed instructions…
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.
... 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.
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.
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!
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!