From b5b8a6bb5804161c567f3bb591f8ec23a212ed32 Mon Sep 17 00:00:00 2001 From: Guilamu Date: Fri, 29 Nov 2024 13:18:15 +0100 Subject: [PATCH] Update gf-chained-select-enhancer.php --- gf-chained-select-enhancer.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gf-chained-select-enhancer.php b/gf-chained-select-enhancer.php index fb0572f..cf30752 100644 --- a/gf-chained-select-enhancer.php +++ b/gf-chained-select-enhancer.php @@ -135,7 +135,13 @@ public function output_hide_columns_css() { foreach ($columns as $column) { $column = trim($column); if (is_numeric($column)) { - $css .= "#input_{$form['id']}_{$field->id}_{$column} { display: none !important; height: 0; margin: 0; padding: 0; overflow: hidden;}\n"; + $css .= "#input_{$form['id']}_{$field->id}_{$column}_container { + display: none !important; + height: 0 !important; + margin: 0 !important; + padding: 0 !important; + overflow: hidden !important; + }\n"; } } }