Url() in CSS won't allow Content Builder to save, X Pro 4.011 |Invalid JSON response

Hi.

Using Url("[insert url]") in CSS won’t allow the content builder to save.

Example

.pevTop:before {
    background-size: 30px 30px;
    display: inline-block;
    width: 30px; 
    height: 30px;
  content: "";
  background-image: url("https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png");
}

Console throws an Invlaid Json response error shown below:

Hi @JfantasyBooks,

Thanks for reaching out,

I tried to use your CSS code in my CSS page and it is just saving without any problem, see screenshot below.

There could be a plugin or custom code that affects your website to save your content. I recommend the following troubleshooting procedures before we investigate the settings.

  1. TESTING FOR THEME RELATED ISSUE
  2. TESTING FOR PLUGIN CONFLICT
  3. THEME UPDATE
  4. CHILD THEME
  5. CSS/JS CUSTOMIZATION
  6. VERSION COMPATIBILITY

Only if none of that helps, please give us the following information in a Secure Note.

  • WordPress Login URL
  • Admin level username and password

You can find the Secure Note button at the bottom of your posts.

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.