[SOLVED] Specify header image per post
I've read over these forums for hours and have not been able to find the solution. I found JuggleDads solution for setting the header image based on category or page (thanks JD), but it does not work on posts, at least not for me.
I am using mod rewrite, so even though my post id number is 641 the url reads as the name of the post. Using the url in my css inserts has been working for the categories. I've been making my changes in the css inserts section for the categories, and again they work perfect. Any help is appreciated. |
the mod wrwrite doesn't matter. What you want to do is view the page, then view the source of the page and fine the '<body...'statement. This will give you something like this on a single post page
HTML Code:
<body class="single postid-638 logged-in"> HTML Code:
body.postid-638 div#imagecontainer { |
Juggledad,
Thanks so much! I was trying post-id instead of postid You rock! Thanks again! Ken |
All times are GMT -6. The time now is 08:44 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.