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.
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
would I same this file into my enfold child theme? If so, with the same file path?
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
Hi Yigit.
I’ve added the code to my functions.php file, but the button still shows.