Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #438421

    I’d like to hide that button, or at the very least, deactivate it. I did read the thread at: https://kriesi.at/support/topic/angular-template-builder-reset-all-options-button/

    However, it looks like this fix goes on something other than the (child) functions.php page that is not part of any future Enfold updates. So, could you please explain the best way to do this, so that the change does not go undone in a future Enfold update?

    Thanks much.

    #438569

    Hey laptophobo!

    Please go to Enfold/framework/php folder and open class-htmlhelper.php file and find

    $output = '<span class="avia_style_wrap"><a href="#" class="avia_button avia_button_grey avia_reset">Reset all options</a></span>';

    and change it to

    $output = "";

    Regards,
    Yigit

    #439452

    would I same this file into my enfold child theme? If so, with the same file path?

    #439881

    Hi!

    Please try adding following code to functions.php file of your child theme

    add_action('admin_head', 'remove_reset_button');
    function remove_reset_button() {
      echo '<style>
    avia_footer_reset{ display: none !important; } 
      </style>';
    }

    Regards,
    Yigit

    #439959

    Hi Yigit.

    I’ve added the code to my functions.php file, but the button still shows.

    #440842

    Hey!

    I’m sorry about that. There’s a missing dot:

    add_action('admin_head', 'remove_reset_button');
    function remove_reset_button() {
      echo '<style>
    	.avia_footer_reset{ display: none !important; } 
      </style>';
    }

    Regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.