Title: Group Block- Additional CSS Class
Last modified: June 4, 2020

---

# Group Block- Additional CSS Class

 *  Resolved [armstrj1](https://wordpress.org/support/users/armstrj1/)
 * (@armstrj1)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/group-block-additional-css-class/)
 * I would like to be able to apply the same custom CSS class to a series of paragraphs
   and thought that putting them all in a group would be a simple way of doing this.
 * However, while the custom CSS class I defined worked fine for the individual 
   paragraphs, it did not work for the group.
 * Is there any way I can do what I want?

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

 *  [James Hunt](https://wordpress.org/support/users/bonkerz/)
 * (@bonkerz)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/group-block-additional-css-class/#post-13050113)
 * You can attached a class to a group via the Block Editor. What was you expecting
   to happen when you did this?
 * Can you share a URL if you are still experiencing issues.
 *  Thread Starter [armstrj1](https://wordpress.org/support/users/armstrj1/)
 * (@armstrj1)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/group-block-additional-css-class/#post-13052674)
 * I wanted to set a different font type and line space for a section of a page 
   comprising some 8 paragraphs. I had set up a CSS class and tested it for one 
   of the paragraphs. However, when I put all the paragraphs in a group, the class
   did not work for the group.
 * Having just gone back to the page now, I realise that I had defined the class
   as page specific. I have just made the class general and it worked fine for the
   group.
 * Sorry to bother you.

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

The topic ‘Group Block- Additional CSS Class’ is closed to new replies.

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

 * 2 replies
 * 2 participants
 * Last reply from: [armstrj1](https://wordpress.org/support/users/armstrj1/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/group-block-additional-css-class/#post-13052674)
 * Status: resolved