Where is the body tag?


I came onto a project at the very end to fix somethings. One of the soutions I found would require added a class to the body tag but I can't find it in the header.php or footer.php file of theme.


Hi Brandi,

You can add a class to the body with the following action in your functions file:

beans_add_attribute( 'beans_body', 'class', 'your_class_here' );

Regards, Simon

Write a reply

Login or register to write a reply, it's free!