Do you want to add the custom class on Body in your Genesis Framework theme without using the plugin? Then you came to the right planet.
By default Genesis Framework works for inbuilt body class, but sometimes we need to add the custom class so we can customize the theme more batter.
Read also: Display Post Word Count in WordPress Without a Plugin, How to Customize Search Form Input Button Text in Genesis
Here we have posted the simple code guide that you can use in your theme for adding custom body class. Just follow the below guide step by step.
Let’s not waste time and get started.
Add Custom Body Class Genesis
Below we have posted the simple code snippets that you need to copy and paste into your Genesis child theme’s functions.php file.
After that, change the value custom-class
to whatever you want to add in your body class.
Code snippets to Add body class
That’s it.
If you guys have any questions or wanna say thanks or something else to us, then do comment in comment box. Also do share this guide, if it helped you.