Can I add an unique ID to my BODY tag?
-
Hi there,
For styling purposes, I’d like to add a unique ID to by BODY tag. It seems that the index.php template is used in the majority of cases while viewing a site. However, I want certain pages to look different, so I need the ID.
I realize I can make unique pages (which uses page.php) but I still get stuck with the same problem of wanting a couple different looks.
Possibly I am going about this wrong? Here are the page types I need:
1 – The home page is unique to the site, it has some different content and styling
2 – Post/archive pages (archive.php I assume)
3 – 2 or 3 other pages that share the same framework, but have slightly different types of content, thus styling.
I think I can accomplish this with unique IDs on the BODY, but if there is a better way, please point it out.
Thanks!
- The topic ‘Can I add an unique ID to my BODY tag?’ is closed to new replies.