CSS / PHP question

Soldato
Joined
2 Jun 2004
Posts
18,423
I've installed a new theme on one of my forums and I'm tryng to get the header image to change randomly.

I am using rob millers php rotate script, but the banners are not appearing. I think this is because the path is in the CSS file, and not the php header.

This is the CSS...

Code:
#header {
	position: relative;
	height: 120px;
	overflow: hidden;
	background: #3D71AD url(images/banners/rotate.php) 100% 0 no-repeat;
}

Anyone spot any obvious reasons that wouldn't work?
 
Well the path to the default header image was "images/header-bg.jpg", so I put my banners folder (which contains 6 banners and the php rotate script) in the images directory, and changed the path accordingly. So I don't think the path is wrong.

It goes like this : forum > themes > mytheme (css file in here) > images > banners.
 
Back
Top Bottom