Title: Gutenberg &amp; custom CSS
Last modified: April 16, 2020

---

# Gutenberg & custom CSS

 *  Resolved [Jim](https://wordpress.org/support/users/kernix/)
 * (@kernix)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/gutenberg-custom-css/)
 * I decided to try using Gutenberg for a post but noticed the blockquote color 
   was wrong. I was given some custom CSS from an admin for OWP from this forum 
   so I used that. It all looks good although I did forget the “.” the first time.
   Here is the CSS:
 * .blockquote {
    border-left: 5px solid #346315; }
 * But this isn’t about the code. When I previewed the post, the blockquote color
   did NOT change, so I right-clicked > View source to check the page. Here is the
   problem – ALL of my custom CSS is in the source on the page. WHY? I added all
   the CSS via Appearance > Customize and yes, I am using the child theme.
 * Why is it showing in the source code when before it did not? Does Gutenberg not
   allow custom CSS? I reactivated my Classic Editor plugin and the custom CSS is
   still in the source code. What is going on?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgutenberg-custom-css%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Marko OceanWP](https://wordpress.org/support/users/wpfleek/)
 * (@wpfleek)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/gutenberg-custom-css/#post-12696415)
 * Hello [@kernix](https://wordpress.org/support/users/kernix/),
 * Actually, the correct class for the blockquote, is `blockquote` without the dot.
 * Gutenberg not only allows custom CSS, but you can also define custom classes 
   for each item and then call that class in the block settings.
 * For example, you can define 10 different styles for the blocquote and call it
   from the block settings.
 * Hope this helps. Best of luck with your website
 *  Thread Starter [Jim](https://wordpress.org/support/users/kernix/)
 * (@kernix)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/gutenberg-custom-css/#post-12696726)
 * thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Gutenberg & custom CSS’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/oceanwp/4.1.5/screenshot.png)
 * OceanWP
 * [Support Threads](https://wordpress.org/support/theme/oceanwp/)
 * [Active Topics](https://wordpress.org/support/theme/oceanwp/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/oceanwp/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/oceanwp/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [Jim](https://wordpress.org/support/users/kernix/)
 * Last activity: [5 years, 12 months ago](https://wordpress.org/support/topic/gutenberg-custom-css/#post-12696726)
 * Status: resolved