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

#3115
Jason Bobich
Keymaster

Looking at your screenshot again, your onmouseover and onmouseout are on the image tag, opposed to the anchor it looks like. So, it’d be this:

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

I’m still not sure if it will work 100%, but hopefully that’ll get you closer.