Title: Targeting specific blocks for admin styling
Last modified: September 13, 2018

---

# Targeting specific blocks for admin styling

 *  [lewisself](https://wordpress.org/support/users/lewisself/)
 * (@lewisself)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/targeting-specific-blocks-for-admin-styling/)
 * Hello,
 * I’m developing a banner block. I’ve created some options to align the text on
   the banner to the right or the left. The block creates a <style> tag and adds
   the styling to the page. However, it effects all blocks when I want it to only
   target the specific block. I know there is an ID on the block (block-e6c047a1-
   a36f-49fc-9c15-c6075f0917f5) but I’m not sure how I can get the block ID to add
   to the styling to target each block individually.

The topic ‘Targeting specific blocks for admin styling’ 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/)

 * 0 replies
 * 1 participant
 * Last reply from: [lewisself](https://wordpress.org/support/users/lewisself/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/targeting-specific-blocks-for-admin-styling/)
 * Status: not resolved