Support is closed now. We shall check all on 20th May 2024.

Premium add-on for Bricks Builder

Add attributes to BODY tag

You can easily add your own custom attributes to <body> tag. There has a filter bricks/body/attributes. Open the functions.php file of the bricks child theme or any 3rd party snippets plugin and drop the following PHP code

function my_body_id( $attributes ) { 
	$attributes['id'] = "enter-your-id";
	$attributes['data-my-att'] = "enter-your-attribute-value";

	return $attributes;


Fills In: 

Leave the first comment

Search Tutorials

Request TutorialsFeatures Request