[Resolved] Error when applying custom css rules

Home Forums Support [Resolved] Error when applying custom css rules

Home Forums Support Error when applying custom css rules

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1059119
    Hassan

    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.

    #1059201
    David
    Staff
    Customer Support

    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.

    #1061601
    Hassan

    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.

    #1061689
    David
    Staff
    Customer Support

    No problems – let me know what they say.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.