Unyson icon indicating copy to clipboard operation
Unyson copied to clipboard

How to disable certain columns in the Page Builder

Open rockalife opened this issue 11 years ago • 2 comments

Question asked by @blackmekemeke in another issue.

My other question, how to remove 1/6 col shortcode?

rockalife avatar Dec 08 '14 11:12 rockalife

Attention: This is possible starting with v1.2.0 of the shortcodes extension, so make sure you update.

To disable a certain column you could overwrite the builder extensions default_item_widths config. To do that just create a file {your-theme}/framework-customizations/extensions/builder/config.php and remove the corresponding item from the default_item_widths array.

Note that there is also the fw_shortcode_column_thumbnails_data filter via which you could tweak the columns data before they get to the Page Builder.

rockalife avatar Dec 08 '14 11:12 rockalife

Thank you @rockalife

blackmekemeke avatar Dec 08 '14 14:12 blackmekemeke