From ff82375584cd7482933da9953dbc57135f309bc0 Mon Sep 17 00:00:00 2001 From: James Rosado Date: Tue, 22 Oct 2024 19:41:04 -0400 Subject: [PATCH 1/5] resolves #135 --- .../scss/customizer/controls/_sections.scss | 19 ++++++++++++++ ...ss-boldgrid-framework-customizer-panel.php | 11 ++++---- ...-boldgrid-framework-customizer-section.php | 25 +++++++++++++------ 3 files changed, 43 insertions(+), 12 deletions(-) diff --git a/src/assets/scss/customizer/controls/_sections.scss b/src/assets/scss/customizer/controls/_sections.scss index dfb339732..4765cf6fe 100644 --- a/src/assets/scss/customizer/controls/_sections.scss +++ b/src/assets/scss/customizer/controls/_sections.scss @@ -6,8 +6,27 @@ } } + // Base Styles. #customize-controls { + .accordion-section-title { + &::before { + line-height: 40px; + } + button.accordion-trigger { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + z-index: 2; + width: calc( 100% - 40px ); + padding: 0 0 0 35px; + &:hover, &:focus, &:active { + background: transparent; + } + } + } .control-section-bgtfw_section.open > li.control-section-bgtfw_section { margin-left: -12px; margin-right: -12px; diff --git a/src/includes/customizer/class-boldgrid-framework-customizer-panel.php b/src/includes/customizer/class-boldgrid-framework-customizer-panel.php index 6ab67ed54..36371816b 100644 --- a/src/includes/customizer/class-boldgrid-framework-customizer-panel.php +++ b/src/includes/customizer/class-boldgrid-framework-customizer-panel.php @@ -224,13 +224,14 @@ protected function content_template() { protected function render_template() { ?>
  • -

    - {{ data.title }} - +

    +

    - +
  • -
  • - {{ data.title }} - +

    -