A plugin which allows you to add a custom CSS class the HTML body tag
| Author: | Andrei Lupu (profile at wordpress.org) |
| WordPress version required: | 5.2.0 |
| WordPress version tested: | 6.8.2 |
| Plugin version: | 0.7.5 |
| Added to WordPress repository: | 26-07-2015 |
| Last updated: | 27-07-2025 |
| Rating, %: | 100 |
| Rated by: | 21 |
| Plugin URI: | https://a.lup.dev |
| Total downloads: | 118 168 |
| Active installs: | 10 000+ |
![]() Click to start download |
|
You can use this plugin to add a unique CSS class to your pages or posts.
Demo
TasteWP has prepared a quick WordPress instance with this plugin, so you can give it a try in this demo
Responsiveness
There’s a way to add a class to appear only on mobile devices. You can do that by simply adding mobile- on the front of
the class. For example, if you want to have the class “car” for mobile side, you need to use “mobile-car”.
Support me
If you find this plugin helpful, or you just want to send me a coffee here are the ways:
- Use the Github Sponsor button
- Ko-fi
- Watch me coding on twitch.tv/thelup
- Or simply visit my site lup.dev and make those analytics ring the bells.
ChangeLog
