MyBB Community Forums

Full Version: finding the body 'id' for page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In my header I have my menu links

for example: <li><a id="homenav" href={$mybb->settings['bburl']}/home.php">Home</a></li>


I need to add custom menu links (donate, contact, etc) but the thing is I need to find out what my 'id' for those pages are. Does anyone know where I can find this 'id'?
Do you not just name them yourself? E.g donatenav, contactnav?
An ID is the same as a CSS class except its used for one element only.
(2012-11-15, 06:03 PM)Xanth Wrote: [ -> ]Do you not just name them yourself? E.g donatenav, contactnav?

I wasnt sure but thanks.

(2012-11-15, 06:04 PM)brad-t Wrote: [ -> ]An ID is the same as a CSS class except its used for one element only.

gotcha. thanks