diff --git a/packages/edit-site/src/components/editor/global-styles-renderer.js b/packages/edit-site/src/components/editor/global-styles-renderer.js index b8bbc57cfe1ed1..332a5f45bb845c 100644 --- a/packages/edit-site/src/components/editor/global-styles-renderer.js +++ b/packages/edit-site/src/components/editor/global-styles-renderer.js @@ -71,7 +71,7 @@ function getBlockPresetClasses( blockSelector, blockPresets = {} ) { const value = preset[ valueKey ]; const classSelectorToUse = `.has-${ slug }-${ classSuffix }`; const selectorToUse = `${ blockSelector }${ classSelectorToUse }`; - declarations += `${ selectorToUse } {${ propertyName }: ${ value };}`; + declarations += `${ selectorToUse }{${ propertyName }: ${ value } !important;}`; } ); } ); return declarations;