From e25c8a7b7b160abcef1eca510f997020cb70a139 Mon Sep 17 00:00:00 2001 From: Janvi Date: Mon, 9 Dec 2024 13:56:32 +0530 Subject: [PATCH] fixed issues in theme customize options --- assets/admin/css/hu_admin.css | 8 +++----- ...ustomize_control_dependencies_and_dom_ready_actions.js | 2 +- functions/czr/panels/class-panels.php | 4 ++-- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/assets/admin/css/hu_admin.css b/assets/admin/css/hu_admin.css index b9ea67df..bb4dc697 100644 --- a/assets/admin/css/hu_admin.css +++ b/assets/admin/css/hu_admin.css @@ -241,21 +241,19 @@ a.czr-rating-link:hover { .remove_google_fonts select[data-customize-setting-link="hu_theme_options[font]"] + .selecter .selecter-item[data-value="tahoma"] { display: block; } -#customize-theme-controls .customize-pane-parent h3.accordion-section-title { +#customize-theme-controls .customize-pane-parent h3.accordion-section-title .accordion-trigger { display: flex; align-items: center; flex-wrap:wrap; column-gap: 10px; position:relative; + padding-left:0; + width: 100%; } #customize-theme-controls .accordion-section-title:after { top: 50%; transform: translateY(-50%); } -#customize-theme-controls .customize-pane-parent .accordion-section-title .accordion-trigger { - padding-left:0; - width: auto; -} #customize-theme-controls .customize-pane-parent .czr-panel-subtitle{ width:100%; display:block; diff --git a/assets/czr/js/_customize_control_dependencies_and_dom_ready_actions.js b/assets/czr/js/_customize_control_dependencies_and_dom_ready_actions.js index d31d11aa..f0ea3c02 100644 --- a/assets/czr/js/_customize_control_dependencies_and_dom_ready_actions.js +++ b/assets/czr/js/_customize_control_dependencies_and_dom_ready_actions.js @@ -6,7 +6,7 @@ /* WIDGET PANEL ICON */ if ( $('.control-panel-widgets').find('.accordion-section-title').first().length ) { - $('.control-panel-widgets').find('.accordion-section-title') + $('.control-panel-widgets').find('.accordion-section-title button') .first() .prepend( $('', {class:'fas fa-magic'} ) ); } diff --git a/functions/czr/panels/class-panels.php b/functions/czr/panels/class-panels.php index cd2a737e..021e2d2a 100644 --- a/functions/czr/panels/class-panels.php +++ b/functions/czr/panels/class-panels.php @@ -60,8 +60,8 @@ protected function hu_render_template() {

- {{ data.czr_subtitle }} + {{ data.czr_subtitle }} +