Title: CSS is HTML encoded
Last modified: July 23, 2022

---

# CSS is HTML encoded

 *  Resolved [dieisraels](https://wordpress.org/support/users/dieisraels/)
 * (@dieisraels)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/css-is-html-encoded/)
 * Hello,
    you can specify Custom CSS in the plugin. Unfortunately this CSS is HTML-
   encoded. So some CSS expressions are not possible, like:
 *     ```
       @import url('https://fonts.googleapis.com/css2?family=Baumans&display=swap');
       .site-content > h2.heading {
       	font-size: 28px !important;
       }
       ```
   
 * Thanks for help or fix.
    -  This topic was modified 3 years, 10 months ago by [dieisraels](https://wordpress.org/support/users/dieisraels/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcss-is-html-encoded%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Alexandru Tapuleasa](https://wordpress.org/support/users/talextech/)
 * (@talextech)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/css-is-html-encoded/#post-15852684)
 * Hi,
 * Sorry, but WordPress guidelines require that all fields be properly sanitized,
   so `@import` and `>` will not work 🙁

Viewing 1 replies (of 1 total)

The topic ‘CSS is HTML encoded’ is closed to new replies.

 * ![](https://ps.w.org/maintenance/assets/icon-256x256.png?rev=2689583)
 * [Maintenance](https://wordpress.org/plugins/maintenance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/maintenance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/maintenance/)
 * [Active Topics](https://wordpress.org/support/plugin/maintenance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/maintenance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/maintenance/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)

 * 1 reply
 * 2 participants
 * Last reply from: [Alexandru Tapuleasa](https://wordpress.org/support/users/talextech/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/css-is-html-encoded/#post-15852684)
 * Status: resolved