Hello,
I would like to disable the built in video embed that comes with enfold. I want to use some other plugins for video, and my users are getting confused how to add video.
Whats the best way to handle this?
Thanks
Todd
Hey toddgeist!
Please add this on functions.php to disable the video element:
function ava_remove_video_element() {
echo '<style type="text/css">.avia-tab.avia-tab-3 a[data-avia-tooltip="Display a video"]{display: none;}</style>';
}
add_action('admin_head', 'ava_remove_video_element');
Best regards,
Ismael
ah simple enough
is that a good general way to hack the CSS for Admin pages?
Todd
You could also add that code to: /config-templatebuilder/avia-template-builder/assets/css/avia-builder.css
Regards,
Josue