Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #218286

    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

    #218339

    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

    #218364

    ah simple enough

    is that a good general way to hack the CSS for Admin pages?

    Todd

    #218629

    You could also add that code to: /config-templatebuilder/avia-template-builder/assets/css/avia-builder.css

    Regards,
    Josue

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘disabling video shortcode’ is closed to new replies.