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] Body class on custom page template is name of custom template, not default 5 echofoxtrot 3 days
Posts page has no body class 1 vikmartin 1 month
[Plugin: Ultimate WP Query Search Filter] Assign Body Class 2 TC.K 1 month
[Plugin: WooCommerce - excelling eCommerce] Remove sidebar from shop page only! 1 Lauramur 3 months
[Plugin: Browser Body Classes with Shortcodes] MSIE version 11 class? 3 cvc1968 4 months
[resolved] TwentyTwelve child theme full width template not working 3 SRD75 7 months
[resolved] [Plugin: Polylang] Body Class for languages? 3 Michaela 7 months
Custom CSS menu class added to body class? 2 tictok 8 months
Excluding the search results page from body class function 2 raquelxmoss 9 months
[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 1 year
How do I make each page a different theme or design? 6 Pioneer Web Design 1 year
[resolved] [Plugin: Advanced AJAX Page Loader] Retrieve Body Class from DATAA 7 Dean Williams 1 year
catogery page body class code 5 orit1900 1 year
[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 2 years
[resolved] body class for child categories 5 njthomp 2 years
[resolved] Transparent Background Home Page 5 Wed By Kez 2 years
[resolved] Add NAME of top-level category to body class 8 zipiz 2 years
[Plugin: The Events Calendar] use event category in body class? 2 Rob La Gatta 2 years
Useful trick : Add your language attribute as a body class 2 trkaplan 2 years
Add html code to a page via theme based on body class 2 Michael 2 years
calling a body class 6 Scott@adszoom 2 years
Setting a body class name 2 Michael 2 years
Add all shop categories classes to body 1 scottpg 2 years
Adding body_class for just one page 59 Marventus 3 years
[resolved] Body Class changes on single post pages 3 fbbr 3 years

Add New Topic

You must log in to post.