WordPress.org

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] [Theme: Hitchcock] Body class causing hover effect problems 2 mintmoss 2 months
Custom Post Types UI add a body class to CPT archive page 1 fourwhitesocks 3 months
[resolved] [Plugin: qTranslate X] BODY CLASS for each language 5 ofmarconi 3 months
child template pages breaking body class 1 malisakyle 4 months
[resolved] [Plugin: The Events Calendar] Add past event status to body tags 5 Brook 5 months
Cannot remove a single body class for given template 1 Reed Gustow 8 months
[Plugin: Custom Classes] Not working on woocommerce shop page 1 kingfisher64 9 months
[resolved] [Plugin: Polylang] body class disappear when switching 2 stephanefremine 11 months
[resolved] Body class on custom page template is name of custom template, not default 5 Reed Gustow 12 months
Posts page has no body class 1 vikmartin 1 year
[Plugin: Ultimate WP Query Search Filter] Assign Body Class 2 TC.K 1 year
[Plugin: WooCommerce] Remove sidebar from shop page only! 1 Lauramur 1 year
[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 2 years
Styling archive with CSS and functions.php 3 isabeld 2 years
[resolved] [Plugin: Events Manager] Adding EM-Categories to body-tag 4 caimin_nwl 2 years
[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 3 years
[resolved] How to improve body_class replacement with regular expressions 3 macemmek 3 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

Add New Topic

You must log in to post.