Premium Blocks Container Forced to 100px Min-Height: How to Diagnose and Fix It

A Premium Blocks Container that remains 100px tall even when it is empty or contains only a few pixels of content is usually being constrained by a CSS min-height, not by the content itself.

This matters because an empty container would normally collapse to its padding, border, or other intentional layout dimensions. If DevTools shows a rule forcing approximately:

min-height: 100px;

on the Container’s inner wrapper, the browser is correctly obeying CSS that should probably not be applied to an auto-height container.

Premium Blocks has had this exact class of bug before. Its changelog says version 2.2.18 fixed an enforced Container min-height issue, and version 2.2.21 later refactored the Container min-height styling to resolve enforced min-height problems.

If the same behavior has returned in a newer release, first determine whether you are seeing stale generated CSS or an actual regression before modifying the site.

The Previous Premium Blocks Min-Height Bug

A previous Premium Blocks support case reported that Container behavior changed between versions 2.2.9 and 2.2.17.

The affected element was identified as:

.premium-container-inner-blocks-wrap

and the container appeared to enforce a minimum height of 100px. Premium Blocks support confirmed the issue, said its developers had identified the problem, and subsequently released a fix.

The public changelog later documented:

2.2.18
Fix: Container block enforced min-height issue fixed.

and then:

2.2.21
Fix: Refactored min-height style for Container block
to resolve enforced min-height issues.

That history makes a newly reproduced 100px floor significant. It does not prove that the exact same code defect has returned, but it makes the Container’s generated min-height CSS the first place to inspect.

Confirm Which Element Is Forcing the Height

Open the affected page on the frontend rather than relying only on the Gutenberg editor.

In Chrome or Firefox:

  1. Right-click the empty or undersized Container.
  2. Choose Inspect.
  3. Locate the Container and its inner wrapper.
  4. Select the element containing:
premium-container-inner-blocks-wrap
  1. Open the Computed styles panel.
  2. Search for:
min-height

If the computed value is:

100px

expand the property or click its source to see exactly which CSS rule created it.

That source is important.

You need to distinguish among:

Premium Blocks generated CSS
Premium Blocks static stylesheet
Theme CSS
Additional CSS
Child-theme CSS
Optimization/cache-generated CSS
Inline block styles

Do not assume the plugin is responsible solely because the element belongs to Premium Blocks.

Test an Empty Container

Create the smallest possible reproduction on a staging page:

  1. Add a new Premium Blocks Container.
  2. Do not add an inner block.
  3. Do not configure a minimum height.
  4. Give the Container a visible background color.
  5. Save the page.
  6. View it on the frontend.

An empty Container should not arbitrarily occupy 100px unless some setting or stylesheet deliberately specifies that minimum.

If it renders at approximately 100px, inspect:

.premium-container-inner-blocks-wrap

and record the CSS source responsible for min-height.

This minimal test is valuable because it removes text, images, dynamic blocks, margins, line-height, and other content dimensions from the equation.

Regenerate Premium Blocks Assets Before Treating It as a Regression

Premium Blocks can generate optimized asset files, which means an update does not necessarily guarantee that every page immediately starts using newly generated CSS.

The plugin added a Regenerate Assets function specifically to clear and rebuild its generated CSS, and later releases included improvements designed to prevent stale generated files from being served.

Before changing CSS:

  1. Back up the site.
  2. Find Premium Blocks’ Regenerate Assets option.
  3. Regenerate its generated assets.
  4. Purge your WordPress page cache.
  5. Purge server-side caching if present.
  6. Purge CDN caching if present.
  7. Clear or bypass browser cache.
  8. Reload the test page.

Then inspect the computed min-height again.

This step is especially important when the problem appears immediately after a plugin upgrade.

Why Clearing Only the Browser Cache May Not Be Enough

The stylesheet causing the problem may exist outside the browser cache.

A typical WordPress frontend can involve:

Premium Blocks generated CSS
        ↓
Optimization plugin
        ↓
Server/page cache
        ↓
CDN
        ↓
Browser cache

If an older generated asset still contains the 100px rule, clearing Chrome’s cache does not rebuild that asset.

Likewise, purging a CDN does not help if Premium Blocks simply generates the same incorrect rule again.

That is why you should inspect the actual CSS source both before and after regenerating assets.

Check Whether a Min-Height Is Actually Saved on the Block

Next, select the Container inside Gutenberg and inspect its responsive sizing controls.

Check desktop, tablet, and mobile values separately.

Look for:

  • a Min Height value;
  • inherited responsive values;
  • a global style or preset;
  • copied styles from another Container;
  • Container variations carrying default values.

If a 100px value is genuinely stored as part of the block configuration, remove or reset it and save the page.

Then inspect the frontend again.

The distinction is:

100px saved deliberately in block attributes

versus:

100px emitted when no min-height was configured

The second case is the more likely plugin defect.

Inspect the Saved Block Markup

If the editor shows no minimum height but the frontend still receives one, inspect the post’s block markup.

Use the editor’s Code editor view or retrieve the post content on staging.

Search for the affected Container and look for a height-related block attribute.

Do not manually rewrite serialized block markup on production unless you understand the block structure. Editing block comments incorrectly can cause Gutenberg to report that a block contains unexpected or invalid content.

The goal is only to determine whether 100 is saved in the content or introduced later during style generation.

Why Small or Dynamic Content Can Behave Differently

An empty Container makes the bug obvious because there is no content height to mask it.

For example:

Natural content height: 0px
Forced min-height:     100px
Rendered height:       100px

With 30px of dynamic content:

Natural content height: 30px
Forced min-height:      100px
Rendered height:        100px

With 180px of content:

Natural content height: 180px
Forced min-height:      100px
Rendered height:        180px

This is normal CSS min-height behavior.

It also explains why the defect can appear inconsistent across different blocks: the minimum only becomes visually obvious when the content would naturally be shorter than the imposed floor.

Why a Spacer Block May Make the Result Look Different

Adding a Spacer block and dragging its height toward zero can change the nested layout and generated block styles.

That does not necessarily mean the Spacer is fixing the Premium Blocks Container.

The core WordPress Spacer block is itself an explicit spacing element with a configurable height. WordPress documentation describes it as a block specifically intended to create vertical space.

A nested Spacer may therefore change:

  • inner-block sizing;
  • flex behavior;
  • child dimensions;
  • generated styles;
  • how the Container’s content area is calculated.

Do not use a zero-height Spacer as the permanent solution to a Container min-height regression.

Fix the unwanted Container rule instead.

Check Equal Height Settings

Premium Blocks also includes an Equal Height feature. Its current plugin description lists Equal Height among the plugin’s layout features.

If the affected Container participates in a row or layout using Equal Height, temporarily disable that feature and retest.

A genuine 100px min-height rule on .premium-container-inner-blocks-wrap is still the more direct clue, but layout normalization can alter the final rendered dimensions.

Testing a completely standalone Container avoids this ambiguity.

Temporary CSS Workaround

If you have confirmed that Premium Blocks is imposing:

min-height: 100px;

on containers that are supposed to shrink naturally, a narrowly scoped CSS override can be used while waiting for an upstream fix.

Do not globally reset every Premium Blocks Container because some Containers may intentionally use minimum heights.

Instead, add a custom CSS class to only the affected Containers, for example:

dn-auto-height-container

Then add:

.dn-auto-height-container .premium-container-inner-blocks-wrap {
    min-height: 0 !important;
}

Add the CSS through your child theme or WordPress’s supported custom CSS mechanism.

This tells the affected inner wrapper that it may shrink below 100px.

Why the workaround is scoped

A global rule such as:

.premium-container-inner-blocks-wrap {
    min-height: 0 !important;
}

could override legitimate Premium Blocks height settings across the entire website.

The custom class keeps the workaround limited to Containers that are intended to auto-size.

Remove the workaround after the plugin is fixed

The CSS should be considered temporary.

Once Premium Blocks releases a confirmed fix:

  1. update on staging;
  2. regenerate Premium Blocks assets;
  3. remove the custom override;
  4. verify the affected layouts;
  5. deploy the change.

Leaving an unnecessary !important override in place can interfere with future responsive min-height controls.

Do Not Edit the Plugin’s CSS Files Directly

Avoid modifying files inside:

wp-content/plugins/premium-blocks-for-gutenberg/

A plugin update will overwrite the change.

Direct editing also makes it harder to determine whether a later update genuinely fixes the regression.

Use:

  • scoped custom CSS;
  • a child theme;
  • or another supported CSS customization method.

Should You Roll Back Premium Blocks?

A rollback can be useful on staging to prove that a specific release introduced a regression.

For example:

Current release → 100px minimum appears
Older known-good release → problem disappears

is strong diagnostic evidence.

However, do not casually restore a year-old plugin build on a production website.

Premium Blocks has received subsequent compatibility, bug-fix, and security changes. Its current changelog includes security-related changes in the newer 2.3.x line.

If rollback testing is needed:

  1. create a staging clone;
  2. back it up;
  3. test the older version there;
  4. reproduce the same Container;
  5. compare generated CSS.

Use the result as evidence for the bug report rather than making an outdated release your long-term production solution.

How to Tell Whether This Is Really a Plugin Regression

The evidence for a Premium Blocks regression becomes strong when all of these are true:

  • a new empty Premium Blocks Container is affected;
  • no minimum height is configured in its controls;
  • the frontend computes min-height: 100px;
  • DevTools traces that value to Premium Blocks-generated CSS;
  • regenerating assets does not remove it;
  • clearing page/CDN/object caches does not remove it;
  • the problem occurs with a standard theme on staging;
  • disabling unrelated plugins does not change it;
  • an older known-good Premium Blocks release does not produce the rule.

At that point, a plugin-side fix is preferable to continuing to modify the site.

What to Include in a Useful Bug Report

Provide a minimal reproduction rather than only screenshots of the visual gap.

Include:

Premium Blocks version:
WordPress version:
Theme:
Container min-height setting:
Expected height:
Computed frontend min-height:
CSS selector:
CSS file or generated style responsible:
Asset generation enabled/disabled:
Regenerate Assets result:

Also describe the simplest reproduction:

1. Add Container.
2. Leave it empty.
3. Add background color.
4. Save.
5. View frontend.
6. Container renders at 100px.

If possible, copy the exact CSS rule shown by DevTools.

For example:

.some-generated-selector .premium-container-inner-blocks-wrap {
    min-height: 100px;
}

The source filename and line number are more useful to a plugin developer than the visual symptom alone.

Verify the Fix

After a plugin update or patch, test all three cases.

Empty Container

Create an empty Container with a background.

Expected result:

No unexplained 100px minimum.

Small content

Add content naturally shorter than 100px.

Expected result:

Container follows its content/padding unless a min-height was configured.

Explicit min-height

Set a deliberate minimum such as:

200px

Expected result:

Container respects the configured 200px value.

This last test is important.

The historical bug did not only force small Containers to 100px; the earlier report also described problems respecting larger configured minimum heights.

A complete fix therefore needs to preserve both behaviors:

No configured min-height → natural height
Configured min-height    → configured value respected

What Not to Do

Avoid these workarounds while diagnosing the problem:

  • Do not fill empty Containers with Spacer blocks merely to control their height.
  • Do not globally override every Premium Blocks Container with min-height: 0 !important.
  • Do not edit plugin files directly.
  • Do not assume clearing the browser cache also regenerates Premium Blocks CSS.
  • Do not delete block attributes manually from production content.
  • Do not downgrade production to an old plugin release without considering later security and compatibility changes.
  • Do not report only “Container is too tall” without identifying the computed CSS source.

Premium Blocks has already fixed an enforced Container min-height defect in the past, so a reproducible 100px minimum in a current release deserves a focused regression report.

The fastest path is to inspect the computed min-height, regenerate Premium Blocks assets, eliminate stale caching, reproduce the issue with an empty Container, and identify the rule that is adding the 100px floor.

About the author

Tahrim Naziat

WordPress and Server Troubleshooting Specialist

Tahrim Naziat is a senior WordPress and JavaScript developer with more than 14 years of experience specializing in WordPress troubleshooting, WooCommerce, PHP compatibility, plugin conflicts, malware cleanup, performance optimization, Nginx, Redis, and production server issues. He documents practical solutions based on real WordPress debugging, technical investigations, and client projects.

Leave a Comment