WordPress › Support » body class

Tag: body class Add New »


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
child template pages breaking body class 1 malisakyle 1 month
[resolved] [Plugin: The Events Calendar] Add past event status to body tags 5 Brook 1 month
Cannot remove a single body class for given template 1 Reed Gustow 4 months
[Plugin: Custom Classes] Not working on woocommerce shop page 1 kingfisher64 5 months
[resolved] [Plugin: Polylang] body class disappear when switching 2 stephanefremine 8 months
[resolved] Body class on custom page template is name of custom template, not default 5 Reed Gustow 8 months
Posts page has no body class 1 vikmartin 9 months
[Plugin: Ultimate WP Query Search Filter] Assign Body Class 2 TC.K 9 months
[Plugin: WooCommerce] Remove sidebar from shop page only! 1 Lauramur 11 months
[Plugin: Browser Body Classes with Shortcodes] MSIE version 11 class? 3 cvc1968 1 year
[resolved] TwentyTwelve child theme full width template not working 3 SRD75 1 year
[resolved] [Plugin: Polylang] Body Class for languages? 3 Michaela Steidl 1 year
Custom CSS menu class added to body class? 2 tictok 1 year
Excluding the search results page from body class function 2 raquelxmoss 1 year
[resolved] How to add a custom body class for pages that are not the front page? 8 MrNerdy 1 year
Styling archive with CSS and functions.php 3 isabeld 1 year
[resolved] [Plugin: Events Manager] Adding EM-Categories to body-tag 4 caimin_nwl 1 year
[resolved] [Plugin: Multiple Domains with Analytics] How to add a body class per domain name? 3 colourstone 2 years
How do I make each page a different theme or design? 6 Pioneer Web Design 2 years
[resolved] [Plugin: Advanced AJAX Page Loader] Retrieve Body Class from DATAA 7 Dean Williams 2 years
catogery page body class code 5 orit1900 2 years
[resolved] Add post tag name to single post body class 5 jeffersonpowers 2 years
[resolved] How to improve body_class replacement with regular expressions 3 macemmek 2 years
Edit navigation links on custom theme 14 paulwpxp 3 years
[resolved] body class for child categories 5 njthomp 3 years
[resolved] Transparent Background Home Page 5 Wed By Kez 3 years
[resolved] Add NAME of top-level category to body class 8 zipiz 3 years
[Plugin: The Events Calendar] use event category in body class? 2 Rob La Gatta 3 years
Useful trick : Add your language attribute as a body class 2 trkaplan 3 years
Add html code to a page via theme based on body class 2 Michael 3 years

Add New Topic

You must log in to post.