Jump to content

How to display a random logo image?


Recommended Posts

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!

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...