This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Reply To: Mouseover in Layout Builder

Jason Bobich

These are not attributes you can use within any of the theme’s elements. They will get filtered out every time. See the following tutorial for adding them in from your Child theme:

function my_allowed_tags( $tags ) {
	$tags['a']['onmouseover'] = array();
	$tags['a']['onmouseout'] = array();
	return $tags;
add_filter( 'themeblvd_allowed_tags', 'my_allowed_tags' );