Header image based on Page ID?
-
I have 4 pages (About, Services, Portfolio, & Contact) that I want to have a different header image for each.
I’ve set up the four styles in css (style1, style2, style3, style4) and I figure there must be a way to call each css image dynamically using PHP, from just the one header.php. Perhaps by Page ID?
This is the current code in my header to call my image.
<div id=”style”></div>Thanks in advance,
Nick
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Header image based on Page ID?’ is closed to new replies.