GarethM Posted July 11, 2016 Posted July 11, 2016 Hi, at the moment in my logo template file I've got code for a retina logo image: <a href='{setting="base_url"}' id='elLogo' accesskey='1'><img src="http://www.the-stronghold.com/uploads/pages_media/5782ce3821314_1_LogoSmall.png" srcset="http://www.the-stronghold.com/uploads/pages_media/1_Logo.png 2x" alt='The Stronghold - Dedicated to Destruction'></a> Now I'd like to change this so a random logo is displayed on each page load out of a set of 3 different logos. How would I go about this? A php custom block? I still want to have retina logos for each logo too. Thanks for any help!
GarethM Posted July 11, 2016 Author Posted July 11, 2016 I think I've just figured it out! I've put a php array in a php custom block and called the block into the logo template file, seems to be working!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.