Super Blocks CSS – Custom CSS for Gutenberg Blocks

توضیحات

Super Block CSS allows you to add custom CSS to your Blocks straight from the Block Editor (Gutenberg). It adds a syntax-highlighted CSS Editor where you can add additional CSS to your Gutenberg Blocks to style them the way you want.

Key features:

  • Adds a Custom CSS panel to every Gutenberg blocks
  • Syntax-highlighted CSS editor for easy coding
  • Apply custom styles to individual blocks
  • Global CSS option for site-wide styles
  • Real-time preview of your custom styles in the editor
  • Easy-to-use interface integrated into the Gutenberg editor

Whether you’re a developer looking to fine-tune your blocks or a site owner wanting to add some custom flair, Super Block CSS gives you the power to customize your Gutenberg blocks with ease.

عکس‌های صفحه

  • Custom CSS panel in action in the Gutenberg editor (GIF)
  • Example of custom styled blocks in the editor.
  • Global CSS settings page

نصب

  1. Upload the super-block-css folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Start adding custom CSS to your blocks in the Gutenberg editor!

سوالات متداول

How do I add custom CSS to a block?

When editing a post or page with Gutenberg, select a block and look for the “Custom CSS” panel in the block settings sidebar. Click to expand it, and you’ll see a CSS editor where you can add your custom styles.

Can I add global CSS that applies to my entire site?

Yes! Go to Appearance > Super Block CSS in your WordPress admin. You’ll find a global CSS editor where you can add styles that apply site-wide.

Will this plugin slow down my site?

Super Block CSS is designed to be lightweight and efficient. It only loads the necessary scripts in the editor and applies styles directly to the blocks, minimizing any impact on your site’s performance.

Is the custom CSS saved with the block content?

Yes, the custom CSS for each block is saved as part of the block’s attributes. This means your styles will persist even if you move the block or switch themes.

نقد و بررسی‌ها

سپتامبر 3, 2016
Now I don’t have to make the theme go crap by putting css code in header.php file 😀 Thanks. keep it updated please!
خواندن تمامی 3 نقد و بررسی‌

توسعه دهندگان و همکاران

“Super Blocks CSS – Custom CSS for Gutenberg Blocks” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

ترجمه “Super Blocks CSS – Custom CSS for Gutenberg Blocks” به زبان شما.

علاقه‌ مند به توسعه هستید؟

کد را مرور کنید, را بررسی کنید مخزن SVN, یا مشترک شوید گزارش توسعه توسط RSS.

گزارش تغییرات

2.0.0

  • Updated Blocks Version
  • Added compatibility with latest WordPress version
  • Improved user interface for custom CSS editor

1.0.0

  • Initial release