Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Adding custom id to body tag?


 
Prev Previous Post   Next Post Next
  #1  
Old Feb 22, 2012, 09:43 PM
crashley1784
 
81 posts · May 2009
Adding custom id to body tag?

Ok, I've scoured the forums and can't find an answer. I've googled the problem and have consequently broken my site by playing with code.

How can I add an id to the body tag of each page based on either the page name or its id #?
so either <body id="contact"> or <body id="page-id-6" (whatever!)>, just so long as I can target specific pages in my css? I need it in order to do several things, but most importantly allow my custom menu to display correctly for the current page item.

Thanks!

Most current WP / Ata versions.

Site broken: sorry, no link. Must reinstall
 

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding border around body johannac Header configuration & styling 9 Jan 15, 2011 03:52 PM
adding javascript with <body> onLoad command bcnuggs Center area post/pages 1 Aug 16, 2010 07:22 AM
Removing page name from Body. Also, adding links into Footer OrganicAnalyticsNow Atahualpa 3 Wordpress theme 19 Feb 23, 2010 12:46 PM
[SOLVED] Adding wp_footer before body tag Chester Post-Kicker, -Byline & -Footer 6 Jun 7, 2009 10:24 AM


All times are GMT -6. The time now is 11:07 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.