Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted July 11, 20168 yr 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!
July 11, 20168 yr Author 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!
Archived
This topic is now archived and is closed to further replies.