Archived topic
Error when applying custom css rules
3 replies · Started by Hassan on November 11, 2019
Hi there,
I'm trying to turn all my buttons and input and text area's border-radius to be rounded, so I had used this css snippet:
input,
select,
textarea,
.wp-block-button .wp-block-button__link,
a.button,
a.button:visited,
button,
html input[type=button],
input[type=reset],
input[type=submit],
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
border-radius: 5px;
}
but wordpress customizer gives me this error: "Looks like something’s gone wrong. Wait a couple seconds, and then try again."
Also I tried to do it using "simple CSS" plugin but also gives me an error: "Not Acceptable!
An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security."
Any help will be appreciated.
Thanks in advanced.
Hi there,
can't see any problems with that code, you will need to speak with your host to see if they have any particular mod_sec rules that are blocking access to certain resources.
A common issue is if the Cookies are disabled on the browser and the mod_sec requires them to be enabled. But there could be other rules in play causing the problem.
Hi David,
I'm really very sorry for my late response, but I was busy somehow.
I'll return to my host provider to find some solution.
Thank you again.
Best Regards.
No problems - let me know what they say.