Hello everyone - hoping someone can help me.
1st off, the website in question is www.airfoolers.com for reference.
I am 'trying' to make my header 'logo' image a random image that changes each page refresh. Should be easy enough right? Well I've tried for two days to do this with every script and php call I've found online and nothing works.
I know I am probably overlooking something obvious ...
Example, I have made 12 'logo' images of the same size and named them img_1.jpg through img_12.jpg
I have placed them in a seperate folder within the themes images folder.
I have created a php file from code found online that was created to rotate the images. I've named it rotate.php as instructed and placed it in the folder with the images.
I pull up my style.css file and scroll down to where my logo file code is ..
It was set to this which displays a logo just fine ..
#logo {
height: 260px;
background:url("images/bgimage/img_5.jpg")
no-repeat left top;
I changed it to this hoping to 'call' the php file but when I do I just get a 'blank' image.
#logo {
height: 260px;
background:url("images/bgimage/rotate.php")
no-repeat left top;
I have no idea if I need to edit my header.php file too? If so which part of the code?
Please - hopefully someone understands my problem and can help?