How do I programmatically change the body background image? (php)
I’m using a child theme off of thematic, and haven’t found anything that let’s me alter the background image on <body> on the fly.
I want to show a different background depending on whether the viewer is logged in or not.
I know how to check for whether a user is logged in, but I can’t figure out where I can change the background image for the body tag…what hook, if any?
This isn’t about setting a different image for a div, or for a particular page. So the background would be for all pages (default) but based on user logged in status.
- The topic ‘How do I programmatically change the body background image? (php)’ is closed to new replies.