-
AuthorPosts
-
June 6, 2019 at 9:43 am #1107863
By mistake I pressed the button “reset all options” at the Enfold theme options.
This is totally my mistake, but:
can’t you put this button is a less prominent place ? I mistook it for a save button.
Before executing the reset, could you show a warning popup asking us if we are sure this can be reset ?
The button is pushed in a blink of an eye and the consequenses are big !June 7, 2019 at 4:05 am #1108128Hey pixar24,
I’m sorry for the problem, but I’m not sure how we could make that less prominent since it’s already grey, and there is a browser confirmation that you have to accept in order for the action to go through.
Best regards,
RikardJune 7, 2019 at 9:37 am #1108193Hi,
for me the browser confirmation didn’t work.( using Chrome)
Maybe my popup blocker blocked it ?
I hit the button and all was reset.June 7, 2019 at 9:43 am #1108197Hi,
I am using an AdBlocker as well however confirmation works fine on my end.
If you would like to hide the button, please add following code to bottom of Functions.php file in Appearance > Editorfunction av_delete_reset_button() { echo '<style>li.avia_footer_reset { display: none !important; } </style>'; } add_action('admin_head', 'av_delete_reset_button');
Best regards,
YigitNovember 7, 2019 at 1:40 pm #1154630Hi Rikard,
I believe this is an issue that Enfold never addressed and lots of people have made that mistake as it is easily done and there is NEVER a pop up message to confirm if you want to reset options even if pressed by mistake. I have dome that mistake befoorwe and I can see from the support logs that it has been an onging issue.Thank you Yigit for offering a solution, I have been using this code as soon as I start working on an Enfold websigte and that ios loads as this button is really a killer and should be put somewhere else where its not being pressed by mistake all the time.
Thanks
Emmy- This reply was modified 5 years, 1 month ago by Emmygraph.
November 8, 2019 at 6:23 am #1154854Hi Emmy,
Thanks for the feedback, we’ll consider changing the layout in some way to make it more difficult to press the button by mistake.
Best regards,
RikardNovember 8, 2019 at 8:08 pm #1155100the first thing when activating Enfold as theme i do insert this to my child-theme functions.php:
function admin_head_mod() { echo '<style type="text/css"> #avia_quick_css .avia_description {float: none;margin-bottom: 20px !important;padding-left: 0 !important;width: 98%} #avia_quick_css .avia_control {float: left;max-width: 98% !important;width: 98% !important} .avia_footer_links li {float: left;padding-right: 20px} .avia_footer .avia_footer_save {float: left} .avia_reset {pointer-events: none !important } #avia_options_page { max-width: 3000px!important} </style>'; } add_action('admin_head', 'admin_head_mod');
or in that code abbove set .avia_reset to display:none
it disables the reset button and let the quick css field and the whole options page grow to max width.
The quick css is to narrow for some selectors.November 9, 2019 at 11:35 am #1155197 -
AuthorPosts
- You must be logged in to reply to this topic.