is there a way to prevent loading of icheck.js only for all the forum since it cause some problem with checkbox?
It's not possible to stop a JS function from other side. it should be stopped from the JS function side. This is not CSS code to fix by setting !important statement from forum side. There is no way to stop this JS function. You should ask this question to the JS function support or to the support team who use this in own plugin or theme.
yes indeed, sorry for asking 😉
I still managed by css to replace things correctly.
You should add the following code in your active theme functions.php file.
/** @var string $handle Name of the script to be removed */
$handle = 'YOUR_icheck.js_HANDLE_NAME';
The red marked value is the value of the handle name enqueued by wp_enqueue_script(). You just need to find the handle name and put it as a value for $handle variable.
Also, please note that the handle name and handle file name do not match.
You need to find the parametre for enqueued icheck.js file, then use the same parameter for dequeue it.
ok great thank you!
I read about dequeue_script yesterday but i didn't have time to get more indeep to learn about it.
Thank you very much for the info, i will work on that
oh yes! thank you so much
manage to find the handle 😉
perfect now, thank a lot!