Hi @dbareis
I hope you’re well today!
Thank you for your feedback but I’m not quite sure if I understand the goal here.
The way this is supposed to work by design is:
1. if the option to apply custom formatting on broken links is not enabled, plugin by default do not modify CSS of the site and that would/should mean links presentation is not altered in any way
2. if you tick that option, the class would be added to mark them
3. if you “untick” it, that class would be removed and that should work just fine unless there’s some caching applied that keeps the class still added in cached version of the page.
Using “!important” isn’t an “elegant” solution and is never recommended unless absolutely necessary and in this case it should not be necessary.
So do I correctly understand that the links on your site are marked correctly as broken if the option is enabled but if it’s disabled – they stay marked as broken and that’s why you want to use “!important”, to revert that change?
If so, that shouldn’t be necessary and instead either cache should be cleared or the optimized CSS of page should be regenerated (depending on what caused it to be “cached”).
Or am I missing the point here?
Kind regards,
Adam