Like the blog? Get the book »

Daily archives: Saturday, May 30, 2009

Archive page 1 of 1
Unique Body ID’s for your Pages

Unique Body ID’s for your Pages

There are many reasons you might want to get a unique ID for your <body></body> tag. Let’s say you want your header elements to be a different color on your About page, you could apply a bit of CSS via your theme’s stylesheet (i.e., style.css). For example, you could target the About page with some styles something like this:

© 2009–2024 Digging Into WordPress Powered by WordPress Monzilla Media shapeSpace