Jump to content
Sign in to follow this  
fourdw

Templates and changing the CSS

Recommended Posts

fourdw

Hi I've created 'page.sea.php' but I'd like to change the background image and modify other elements of the CSS specific to the 'sea' template. For example #site, would become #site_sea. Any pointers please?

Share this post


Link to post
Share on other sites
Kate
If you do a "View Source", there should be a unique class generated in the body tag. You can use that to reference the #site div on that page.

Share this post


Link to post
Share on other sites
fourdw
I see... page-template-page-sea-php in the body class -perfect. Thank you.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×