Random Images (not typical, not CSS problem)... (3 posts)

  1. miserable09
    Posted 10 years ago #

    I'd like to randomize the header image on my site here:


    As far as I can tell, my header image is being pulled by this line of code:

    <div id="headerimg"></div> in the "header.php" file

    All the scripts I've found so far mention using CSS or a line like <? PHP random_banner(); ?> to do this. Obviously mine is calling the image a different way.

    Is there anyhting I can do?

  2. Kafkaesqui

    Posted 10 years ago #

    It is css. The theme you're using assigns the background image to the headerimg id. Look in your style.css for #headerimg. If you use a css method to randomize, you can remove the background property under that id declaration.

  3. mcloloe
    Posted 10 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic