{"id":30670,"date":"2025-08-04T10:13:20","date_gmt":"2025-08-04T15:13:20","guid":{"rendered":"https:\/\/wpstackable.com\/?p=30670"},"modified":"2025-08-04T10:13:29","modified_gmt":"2025-08-04T15:13:29","slug":"introducing-block-styles","status":"publish","type":"post","link":"https:\/\/wpstackable.com\/blog\/introducing-block-styles\/","title":{"rendered":"Introducing Global Block Styles"},"content":{"rendered":"\n<p data-block-type=\"core\">This update, we&#8217;re bringing you a game-changing way to design once and apply everywhere: Global Block Styles. With Global Block Styles, you design a block once \u2014 and instantly reuse it anywhere on your site. Need to make a change? Update it once and every instance updates like magic. Total control, zero repetition. This is how site-wide consistency <em>should<\/em> work.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\" data-block-type=\"core\">The Old Way: Design Per-Block<\/h2>\n\n\n\n<p data-block-type=\"core\">Stackable used to be <strong>only<\/strong> a provider of advanced blocks. Hence, the old way of using Stackable was you would add a Stackable block, tweak it, then copy and paste the block to other pages. Ugh. Very inefficient.<\/p>\n\n\n\n<p data-block-type=\"core\">That was before, now our goal is all about providing you with an <strong>amazing workflow<\/strong>. We&#8217;ve introduced before the <a href=\"https:\/\/wpstackable.com\/blog\/introducing-the-new-stackable-global-design-system\/\" class=\"ek-link\">Design System<\/a> \u2014\u00a0a central place where you can adjust the &#8220;design system&#8221; followed by all Stackable blocks. Now, we&#8217;re bringing it a huge step further.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" data-block-type=\"core\">Block Styles are here!<\/h2>\n\n\n\n<p data-block-type=\"core\">For every Stackable block, now you can <strong>save<\/strong> their current styles into a &#8220;<strong>Block Style<\/strong>&#8220;. You can then head over to any block and pick that Block Style as your new base style. <\/p>\n\n\n\n<p data-block-type=\"core\">Here&#8217;s Block Styles in action:<\/p>\n\n\n\n<figure class=\"wp-block-video alignwide\" data-block-type=\"core\"><video autoplay loop muted src=\"https:\/\/wpstackable.com\/wp-content\/uploads\/2025\/07\/Screen-Recording-2025-08-04-at-7.46.59\u202fPM.mp4.mp4\" playsinline><\/video><\/figure>\n\n\n\n<p data-block-type=\"core\">Here&#8217;s how you use it. To create a Block Style, you just select any block, and you&#8217;ll notice this new area at the top that says &#8220;Block Style: Default&#8221; \u2014 this means that the block is currently using the &#8220;default&#8221; block style as its base.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\" data-block-type=\"core\"><img loading=\"lazy\" decoding=\"async\" width=\"948\" height=\"910\" src=\"https:\/\/wpstackable.com\/wp-content\/uploads\/2025\/07\/Screenshot-2025-08-04-at-7.50.21\u202fPM.webp\" alt=\"The new Block Style button\" class=\"wp-image-30714\" style=\"width:441px;height:auto\" srcset=\"https:\/\/wpstackable.com\/wp-content\/uploads\/2025\/07\/Screenshot-2025-08-04-at-7.50.21\u202fPM.webp 948w, https:\/\/wpstackable.com\/wp-content\/uploads\/2025\/07\/Screenshot-2025-08-04-at-7.50.21\u202fPM-300x288.webp 300w, https:\/\/wpstackable.com\/wp-content\/uploads\/2025\/07\/Screenshot-2025-08-04-at-7.50.21\u202fPM-768x737.webp 768w\" sizes=\"auto, (max-width: 948px) 100vw, 948px\" \/><figcaption class=\"wp-element-caption\">The new Block Style button available in all Stackable blocks.<\/figcaption><\/figure><\/div>\n\n\n<p data-block-type=\"core\">Now, make sure that you have a block with some cool styles applied to it. Then you can click on your <strong>Block style<\/strong> and click on the <strong>Save New Block Style<\/strong> button. Enter in a name (optionally a slug for it, more on the slug later), then click on <strong>Save Block Style<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\" data-block-type=\"core\"><img loading=\"lazy\" decoding=\"async\" width=\"1392\" height=\"946\" src=\"https:\/\/wpstackable.com\/wp-content\/uploads\/2025\/07\/Screenshot-2025-08-04-at-7.53.15\u202fPM.webp\" alt=\"Create new Block Style window\" class=\"wp-image-30717\" style=\"width:518px;height:auto\" srcset=\"https:\/\/wpstackable.com\/wp-content\/uploads\/2025\/07\/Screenshot-2025-08-04-at-7.53.15\u202fPM.webp 1392w, https:\/\/wpstackable.com\/wp-content\/uploads\/2025\/07\/Screenshot-2025-08-04-at-7.53.15\u202fPM-300x204.webp 300w, https:\/\/wpstackable.com\/wp-content\/uploads\/2025\/07\/Screenshot-2025-08-04-at-7.53.15\u202fPM-1024x696.webp 1024w, https:\/\/wpstackable.com\/wp-content\/uploads\/2025\/07\/Screenshot-2025-08-04-at-7.53.15\u202fPM-768x522.webp 768w\" sizes=\"auto, (max-width: 1392px) 100vw, 1392px\" \/><figcaption class=\"wp-element-caption\">You can easily create new Block Styles<\/figcaption><\/figure><\/div>\n\n\n<p data-block-type=\"core\">Afterwards, when you open the Block Styles for any block, you&#8217;ll see the new entry we just created. All same-type blocks will have this new option. To use it, just choose it.<\/p>\n\n\n\n<figure class=\"wp-block-video alignwide\" data-block-type=\"core\"><video autoplay loop muted src=\"https:\/\/wpstackable.com\/wp-content\/uploads\/2025\/07\/Screen-Recording-2025-08-04-at-7.55.04\u202fPM.mp4.mp4\" playsinline><\/video><\/figure>\n\n\n\n<p data-block-type=\"core\">It&#8217;s easy as that!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" data-block-type=\"core\">What Problem Do Block Styles Solve?<\/h2>\n\n\n\n<p data-block-type=\"core\">Block Styles is for <strong>Reusability and workflow efficiency!<\/strong><\/p>\n\n\n\n<p data-block-type=\"core\">Block Styles remove the need for you to copy and paste styles or blocks, and gives you more design workflow options at your disposal. <\/p>\n\n\n\n<p data-block-type=\"core\">Now your blocks can adjust to your design requirements. If your design has 3 types of buttons: let&#8217;s say a normal one, a secondary one, and a plain one, each having their own distinct looks; you can simply save each design as a block style.. <strong>design once and and reuse everywhere<\/strong>.<\/p>\n\n\n\n<p data-block-type=\"core\">This new feature gives you a ton of major benefits, let me show you below.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" data-block-type=\"core\">1. Block Styles Are Reusable <strong>Class-Based<\/strong> Styles<\/h2>\n\n\n\n<p data-block-type=\"core\">Whenever you create a new block style, under the hood, Stackable converts all your block options into a <strong>class-based<\/strong> style. This class is then used whenever a block uses the block style. <strong>Class-based <\/strong>styling (or in our case, should we call it <strong>block-based<\/strong> styling?) drastically reduces the amount of CSS generated in your page, resulting in leaner markup.<\/p>\n\n\n\n<figure class=\"wp-block-video alignwide\" data-block-type=\"core\"><video autoplay loop muted src=\"https:\/\/wpstackable.com\/wp-content\/uploads\/2025\/07\/Screen-Recording-2025-08-04-at-7.59.11\u202fPM.mp4.mp4\" playsinline><\/video><figcaption class=\"wp-element-caption\">Notice the <code>stk-block-column--style-gradient<\/code> class changing to <code>stk-block-column--style-outilne<\/code> near the bottom of the browser inspector.<\/figcaption><\/figure>\n\n\n\n<p data-block-type=\"core\">The slug I mentioned earlier is used in this class-based style naming. We allow you to change the slug because just incase the block style got deleted or is not available, you can quickly create a new block style for the missing one by using the same slug.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" data-block-type=\"core\">2. Block Styles Are Synced<\/h2>\n\n\n\n<p data-block-type=\"core\">In addition to being a form of class-based styling, all block styles are <strong>synced<\/strong> with each other. This syncing mechanism gives you the ability to easily <strong>tweak block styles after-the-fact<\/strong>.<\/p>\n\n\n\n<p data-block-type=\"core\">If you want to update your block style with some changes, you can simply do your adjustments on a block that has your block style, then when you&#8217;re ready to sync your changes, just click on the <strong>Update style<\/strong> button. All blocks that use the block style will follow suit!<\/p>\n\n\n\n<figure class=\"wp-block-video alignwide\" data-block-type=\"core\"><video autoplay controls loop muted src=\"https:\/\/wpstackable.com\/wp-content\/uploads\/2025\/07\/Screen-Recording-2025-08-04-at-11.03.48\u202fPM.mp4.mp4\" playsinline><\/video><figcaption class=\"wp-element-caption\">Here, I modify the right column background gradient, then update the block style. See that the left column also syncs up because it&#8217;s also using the same block style!<\/figcaption><\/figure>\n\n\n\n<p data-block-type=\"core\">There is also an <strong>unlink<\/strong> block style option, in case you want the styles to be &#8220;un-synced&#8221; from the rest.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" data-block-type=\"core\">3. Block Styles Are Overridable<\/h2>\n\n\n\n<p data-block-type=\"core\">If you select a block style, Stackable doesn&#8217;t restrain you from doing additional adjustments to it (not unlike synced patterns where you can&#8217;t override the styles at all). You are free to further adjust the styles of your block. In fact, all the block options are still available for you to use. <\/p>\n\n\n\n<p data-block-type=\"core\">Your changes go <strong>on top<\/strong> of the block style you picked, and block styles retain their <strong>syncable<\/strong> nature, even if you have additional adjustments. <\/p>\n\n\n\n<p data-block-type=\"core\">To illustrate, let&#8217;s say you&#8217;re already using a block style for one of your buttons, but for this instance, you want the button to have a heavier shadow. If you do this one-off shadow adjustment, the block style would still be synced, and your button would still get any style update changes if any.<\/p>\n\n\n\n<figure class=\"wp-block-video alignwide\" data-block-type=\"core\"><video autoplay controls loop muted src=\"https:\/\/wpstackable.com\/wp-content\/uploads\/2025\/07\/Screen-Recording-2025-08-04-at-11.07.24\u202fPM.mp4.mp4\" playsinline><\/video><figcaption class=\"wp-element-caption\">In this example, I add some thick borders to the left column and leave it there (this is the override). I move on to the right column, add some background gradient changes, then update the block style being used. The left column syncs to get the updated colors, but the borders <strong>still remain<\/strong>!<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" data-block-type=\"core\">Other Changes<\/h2>\n\n\n\n<p data-block-type=\"core\">Version 3.18.0 comes with a slew of other changes and fixes, the most notable ones are:<\/p>\n\n\n\n<ul class=\"wp-block-list\" data-block-type=\"core\">\n<li data-block-type=\"core\">We have <strong>removed the Freemius SDK from the free version<\/strong><\/li>\n\n\n\n<li data-block-type=\"core\">The Stackable settings sidebar is now called <strong>Stackable Design System<\/strong><\/li>\n\n\n\n<li data-block-type=\"core\"><strong>Block Defaults feature has been sunset, replaced with Block Styles and the Design System &#8211; but still with backward compatibility<\/strong><\/li>\n<\/ul>\n\n\n\n<p data-block-type=\"core\">You can read the full <a href=\"https:\/\/wpstackable.com\/changelog\/\" class=\"ek-link\">change log here<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" data-block-type=\"core\">Conclusion<\/h2>\n\n\n\n<p data-block-type=\"core\">I hope you enjoy this new innovation as much as we did creating it! Block Styles has been on our radar for quite some time, and we&#8217;re so excited to finally get it out to everyone.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This update, we&#8217;re bringing you a game-changing way to design once and apply everywhere: Global Block Styles. With Global Block Styles, you design a block once \u2014 and instantly reuse it anywhere on your site. Need to make a change? Update it once and every instance updates like magic. Total control, zero repetition. This is &hellip; <a href=\"https:\/\/wpstackable.com\/blog\/introducing-block-styles\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Introducing Global Block Styles<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":30676,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[3],"tags":[],"class_list":{"0":"post-30670","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"hentry","7":"category-updates"},"featured_image_urls_v2":{"full":["https:\/\/wpstackable.com\/wp-content\/uploads\/2025\/07\/New_Global_Block_Styles.webp",2400,1249,false]},"post_excerpt_stackable_v2":"<p>This update, we&#8217;re bringing you a game-changing way to design once and apply everywhere: Global Block Styles. With Global Block Styles, you design a block once \u2014 and instantly reuse it anywhere on your site. Need to make a change? Update it once and every instance updates like magic. Total control, zero repetition. This is how site-wide consistency should work. The Old Way: Design Per-Block Stackable used to be only a provider of advanced blocks. Hence, the old way of using Stackable was you would add a Stackable block, tweak it, then copy and paste the block to other pages.&hellip;<\/p>\n","category_list_v2":"<a href=\"https:\/\/wpstackable.com\/blog\/category\/updates\/\" rel=\"category tag\">Updates<\/a>","author_info_v2":{"name":"Benjamin Intal","url":"https:\/\/wpstackable.com\/blog\/author\/gambit\/"},"comments_num_v2":"0 comments","acf":[],"modified_by":"Benjamin Intal","_links":{"self":[{"href":"https:\/\/wpstackable.com\/wp-json\/wp\/v2\/posts\/30670","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpstackable.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpstackable.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpstackable.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpstackable.com\/wp-json\/wp\/v2\/comments?post=30670"}],"version-history":[{"count":17,"href":"https:\/\/wpstackable.com\/wp-json\/wp\/v2\/posts\/30670\/revisions"}],"predecessor-version":[{"id":30729,"href":"https:\/\/wpstackable.com\/wp-json\/wp\/v2\/posts\/30670\/revisions\/30729"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpstackable.com\/wp-json\/wp\/v2\/media\/30676"}],"wp:attachment":[{"href":"https:\/\/wpstackable.com\/wp-json\/wp\/v2\/media?parent=30670"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpstackable.com\/wp-json\/wp\/v2\/categories?post=30670"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpstackable.com\/wp-json\/wp\/v2\/tags?post=30670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}