Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #696948

    Hi all — The RESET ALL OPTIONS in the Enfold Customization > General Styling page is a dangerous thing to be leaving around for a client to play with. My clients anyway. Any way I can hide it from them? Have searched functions etc

    Big Fan of Kriesi themes.

    Kate

    #696959

    Hey kate,

    When you click on reset all it does show an alert message that all options will be reset.
    However if you like to disable the reset all button please try adding this at the very end of your themes / child themes functions.php file:

    /* Hide reset all */
    function admin_head_mod() {
    echo '<style type="text/css">.avia_footer_reset{  pointer-events: none!important;}</style>';}
    add_action('admin_head', 'admin_head_mod');

    Best regards,
    Vinay

    #698027

    thanks Vinay. I’ve had two clients breeze right past that warning dialog (i know i know). Go figure.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Hide RESET ALL button’ is closed to new replies.