Forums

Can I add an unique ID to my BODY tag? (2 posts)

  1. tdellaringa
    Member
    Posted 4 years ago #

    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!

  2. CowboyFrank
    Member
    Posted 4 years ago #

    I am also trying to create a somewhat similar site. My site needs to have three distinct "channels" of information, each with a unique horizontal submenu. It would be great if there were a way for an inexperienced user (i.e. through the admin, and without coding) to designate into which "channel" the pages should fall.

    I'm kind of a noob with coding, but I'm a quick learner, so any help would be appreciated!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.