Title: TZM Responsive Block Controls
Author: Jakob Wiens
Published: <strong>Oktoba 16, 2024</strong>
Last modified: Oktoba 30, 2025

---

Tafuta vijalizi

![](https://ps.w.org/tzm-responsive-block-controls/assets/banner-772x250.png?rev
=3206951)

![](https://ps.w.org/tzm-responsive-block-controls/assets/icon.svg?rev=3169954)

# TZM Responsive Block Controls

 By [Jakob Wiens](https://profiles.wordpress.org/jakobwiens/)

[Pakua](https://downloads.wordpress.org/plugin/tzm-responsive-block-controls.1.2.1.zip)

 * [Details](https://sw.wordpress.org/plugins/tzm-responsive-block-controls/#description)
 * [Reviews](https://sw.wordpress.org/plugins/tzm-responsive-block-controls/#reviews)
 *  [Installation](https://sw.wordpress.org/plugins/tzm-responsive-block-controls/#installation)
 * [Development](https://sw.wordpress.org/plugins/tzm-responsive-block-controls/#developers)

 [Saidia](https://wordpress.org/support/plugin/tzm-responsive-block-controls/)

## Maelezo

While the (Gutenberg) Block Editor has brought a lot of amazing and powerful tools
to web design, it still falls short in one crucial aspect: **Responsive controls**

### TZM Responsive Block Controls is here to fill the gap!

This plugin enhances the Block Editor by adding a dedicated **Responsive controls**
panel right inside your block’s settings tab.
 The provided options allow you to
customize how your blocks appear on different devices. No more need for complicated
workarounds or custom CSS!

 * **Hide Blocks:** Easily hide blocks on specific devices to create tailored, clutter-
   free layouts.
 * **Adjust Block Widths:** Set custom block widths per device, ensuring your content
   looks great on all screen sizes.
 * **Reverse Direction:** Reverse the direction/order of blocks (like ‘Columns’ 
   or ‘Row’ blocks) for optimized layouts.
 * **Justify Blocks:** Ensure fluid layouts by adjusting block justification across
   different devices.
 * **Optimize Focal Points:** Fine-tune focal points for background images and other
   media on different screen sizes.
 * **Align Media and Text:** Control horizontal alignment of media and text for 
   consistent appearance across devices.
 * **Font Size Adjustments:** Adjust font sizes for each device to ensure optimal
   readability and maintain visual hierarchy.
 * **Control Padding and Margins:** Set custom padding and margins for each device
   to achieve perfect spacing.
 * **Adjust Block Gaps:** Define custom spacing between blocks to maintain flow 
   and balance on all device types.
 * **Customize Block Heights:** Set different block heights across devices to maintain
   consistent layouts.
 * **Refine Border Radius**: Customize the border-radius to achieve consistent rounded
   corners across different devices.

With such an extensive and exclusive feature set, TZM Responsive Block Controls 
provides everything you need to create stunning and visually appealing designs across
different devices.

### Source Code

The source code for TZM Responsive Block Controls is now available on GitHub!
 Follow
the development, report issues, and get involved in improving the plugin. We welcome
contributions, feedback, and feature requests from the community.

 * [View on GitHub](https://github.com/jakobwiens7/tzm-responsive-block-controls)

## Screenshots

 * [[
 * The Responsive Controls panel provides an extensive and easy-to-use feature set(
   Desktop/Mobile comparison view)
 * [[
 * Preview responsive adjustments instantly (Desktop view)
 * [[
 * Preview responsive adjustments instantly (Phone/Mobile view)

## Installation

 1. Upload the plugin files to the `/wp-content/plugins/tzm-responsive-block-controls`
    directory, or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress

## FAQ

### How does TZM Responsive Block Controls work behind the scenes?

TZM Responsive Block Controls applies responsive styles to your blocks using a combination
of CSS classes and inline styles with CSS variables.

CSS Classes: For features like hiding or reversing blocks, the plugin assigns CSS
classes to the block’s element. Examples include:
 .tzm-responsive__hidden__phone–
Hides the block on phone-sized screens. .tzm-responsive__reverse__desktop – Reverses
the block’s flow direction on desktop screens.

Inline Styles with CSS Variables: For features that require specific values, such
as font size, padding, or margins, the plugin dynamically injects inline styles 
using CSS variables:
 –tzm-responsive–font-size–tablet – Controls the font size 
on tablet-sized screens. –tzm-responsive–padding-top–laptop – Adjusts the padding
for laptop-sized screens.

Note: This plugin relies on `!important` declarations to ensure styles are applied
correctly. While the use of `!important` is typically discouraged, it is necessary
in certain cases to achieve consistent, responsive behavior across devices. Please
keep this in mind.

### Does TZM Responsive Block Controls work with third-party blocks?

While it is primarily designed to target WordPress core blocks, most responsive 
features should also work with third-party blocks. However, third-party blocks may
not always behave the same way as core blocks, which can lead to unexpected results
or prevent the responsive controls from taking effect.

### Can i define my own breakpoints?

Yes, you can easily customize the default breakpoints used by TZM Responsive Block
Controls. Simply add the following code to your theme’s functions.php file:

    ```
        function override_responsive_block_controls_breakpoints( $breakpoints ) {
                $breakpoints['phone']   = '781px';
                $breakpoints['tablet']  = '1024px';
                $breakpoints['laptop']  = '1366px';
                return $breakpoints;
            }
            add_filter('tzm_responsive_block_controls_breakpoints', 'override_responsive_block_controls_breakpoints');
    ```

This will override the default breakpoints and allow you to use your own custom 
values.

### I want to use my own CSS. How can I disable the default CSS styling?

If you prefer to use your own custom CSS for styling blocks, you can disable the
plugin’s default CSS output by adding this code to your theme’s functions.php file:

    ```
        function enqueue_responsive_block_controls_css( $bool ) {
                return false;
            }
            add_filter('tzm_responsive_block_controls_output_css', 'enqueue_responsive_block_controls_css');
    ```

### Can I prevent hidden blocks from being displayed entirely?

Yes, you can toggle the visibility of “hidden” blocks. To do so, open the main Options
menu (the three dots menu in the top-right corner of the block editor) and enable
or disable the “Display hidden blocks” option.
 When disabled, hidden blocks won’t
appear in the editor preview but can still be selected via the List View. By default,
this option is enabled to simplify editing.

### Does it work with classic themes?

No, this plugin is designed specifically for use with the Block Editor and works
only with block-based themes.
 It doesn’t support classic themes that use the older
editor framework.

### What happens if I uninstall the plugin?

When you uninstall _TZM Responsive Block Controls_, any responsive adjustments (
e.g. hiding blocks, margin/padding) you have applied will no longer work.
 However,
your content will remain intact, and the blocks will revert to their default styling
and behavior across all devices.

## Reviews

![](https://secure.gravatar.com/avatar/186e4c8b960a07093ce3b9e6040d3a0dca62fa7f34a1b0673d513330b78f9aa9?
s=60&d=retro&r=g)

### 󠀁[It helped me!](https://wordpress.org/support/topic/it-helped-me-5/)󠁿

 [mines1974](https://profiles.wordpress.org/mines1974/) Mei 14, 2025 1 reply

Thank you very much for this plugin. I really don’t understand why the responsive
aspect of element widths in WordPress blocks hasn’t been addressed more!

 [ Soma maoni yote 1 ](https://wordpress.org/support/plugin/tzm-responsive-block-controls/reviews/)

## Wachangiaji & Wasanidi

“TZM Responsive Block Controls” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ Jakob Wiens ](https://profiles.wordpress.org/jakobwiens/)

“TZM Responsive Block Controls” imetafsiriwa kwa lugha 1. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/tzm-responsive-block-controls/contributors)
for their contributions.

[Translate “TZM Responsive Block Controls” into your language.](https://translate.wordpress.org/projects/wp-plugins/tzm-responsive-block-controls)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/tzm-responsive-block-controls/),
check out the [SVN repository](https://plugins.svn.wordpress.org/tzm-responsive-block-controls/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/tzm-responsive-block-controls/)
by [RSS](https://plugins.trac.wordpress.org/log/tzm-responsive-block-controls/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2.1

 * Replaced deprecated components
 * Minor bugfixes & improvements

#### 1.2.0

 * Fixed “Display hidden blocks” when content is not iframed
 * More bugfixes & improvements
 * Added responsive “Border-Radius” support
 * Hook for load_textdomain changed to “init”
 * Added an option to toggle visibility of hidden blocks
 * Bugfix regarding some styles not being added correctly
 * Bugfix regarding “reverse” and “block width” settings

#### 1.1.0

 * Minor visual UI improvements
 * Added more flexible “Width” controls, replacing “Full width”
 * Added “Focal Point” control for media
 * Blocks now remember their last selected device
 * More bugfixes & improvements
 * Added “Justification” and “Reverse” support for “Social Links” block
 * Added changelog.txt
 * Migrated source code to [GitHub](https://github.com/jakobwiens7/tzm-responsive-block-controls)

#### 1.0.0

 * Initial release 🙂

## Meta

 *  Version **1.2.1**
 *  Last updated **miezi 6 zilizopita**
 *  Active installations **100+**
 *  WordPress version ** 6.4 au juu **
 *  Tested up to **6.8.5**
 *  Languages
 * [English (US)](https://wordpress.org/plugins/tzm-responsive-block-controls/) 
   na .[German](https://de.wordpress.org/plugins/tzm-responsive-block-controls/).
 *  [Tafsiri kwa lugha yako](https://translate.wordpress.org/projects/wp-plugins/tzm-responsive-block-controls)
 * Tags
 * [block controls](https://sw.wordpress.org/plugins/tags/block-controls/)[customization](https://sw.wordpress.org/plugins/tags/customization/)
   [mobile](https://sw.wordpress.org/plugins/tags/mobile/)[responsive](https://sw.wordpress.org/plugins/tags/responsive/)
   [responsivity](https://sw.wordpress.org/plugins/tags/responsivity/)
 *  [Advanced View](https://sw.wordpress.org/plugins/tzm-responsive-block-controls/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/tzm-responsive-block-controls/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/tzm-responsive-block-controls/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/tzm-responsive-block-controls/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/tzm-responsive-block-controls/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/tzm-responsive-block-controls/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/tzm-responsive-block-controls/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/tzm-responsive-block-controls/reviews/)

## Contributors

 *   [ Jakob Wiens ](https://profiles.wordpress.org/jakobwiens/)

## Saidia

Got something to say? Need help?

 [Angalia Baraza ya Usaidizi](https://wordpress.org/support/plugin/tzm-responsive-block-controls/)