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

#1635
Jason Bobich
Keymaster

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:

http://www.jasonbobich.com/theme-forest-updates/expanding-accepted-html-tags-in-the-theme-blvd-wordpress-theme-framework/

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