WordPress.org

Ready to get started?Download WordPress

Forums

WordPress › Support » body class

Tag: body class Add New »

body-class

Adds context-sensitive CSS classes to the Body tag, so it can be useful to create different pages just using CSS.

  1. Frequently Asked Questions
  2. Developer Information
Topic Posts Last Poster Freshness
[resolved] How to add a custom body class for pages that are not the front page? 8 MrNerdy 1 week
Styling archive with CSS and functions.php 3 isabeld 3 weeks
[resolved] [Plugin: Events Manager] Adding EM-Categories to body-tag 4 caimin_nwl 1 month
[resolved] [Plugin: Multiple Domains with Analytics] How to add a body class per domain name? 3 colourstone 3 months
How do I make each page a different theme or design? 6 Pioneer Valley Web Design 7 months
[resolved] [Plugin: Advanced AJAX Page Loader] Retrieve Body Class from DATAA 7 Dean Williams 8 months
catogery page body class code 5 orit1900 9 months
[resolved] Add post tag name to single post body class 5 jeffersonpowers 10 months
[resolved] How to improve body_class replacement with regular expressions 3 macemmek 1 year
Edit navigation links on custom theme 14 paulwpxp 1 year
[resolved] body class for child categories 5 njthomp 1 year
[resolved] Transparent Background Home Page 5 Wed By Kez 1 year
[resolved] Add NAME of top-level category to body class 8 zipiz 1 year
[Plugin: The Events Calendar] use event category in body class? 2 roblagatta 1 year
Useful trick : Add your language attribute as a body class 2 trkaplan 1 year
Add html code to a page via theme based on body class 2 alchymyth 1 year
calling a body class 6 Scott@adszoom 1 year
Setting a body class name 2 alchymyth 1 year
Add all shop categories classes to body 1 scottpg 1 year
Adding body_class for just one page 59 Marventus 1 year
[resolved] Body Class changes on single post pages 3 fbbr 2 years
[resolved] Body class to display template name 8 esmi 2 years
Style Taxonomy Posts? 4 trixienolix 2 years
css with body class 4 roclimb 2 years
body class 8 alchymyth 2 years
Changing colour of widget background 2 SugarTreeAdmin 2 years
How to apply the Name of a page as the value for the class attribute of 4 alchymyth 2 years
Include post tags in body_class 2 trmash 2 years
[resolved] Adding a page tag into the body class 1 talha8877 3 years
Use Body class in page template to show a category 11 s_ha_dum 3 years

Add New Topic

You must log in to post.