diff --git a/sections/collapsible-content.liquid b/sections/collapsible-content.liquid index 2647f6b..0238cce 100644 --- a/sections/collapsible-content.liquid +++ b/sections/collapsible-content.liquid @@ -221,8 +221,7 @@ class Accordion { } document.querySelectorAll('details').forEach((el) => { - console.log("id v", el.id.startsWith("Details-collapsible_row_")) - + // without this the mobile navbar will not open anymore if (el.id.startsWith("Details-collapsible_row_")) { new Accordion(el); } diff --git a/snippets/shx-header-subtitle.liquid b/snippets/shx-header-subtitle.liquid index b59af16..763fe5f 100644 --- a/snippets/shx-header-subtitle.liquid +++ b/snippets/shx-header-subtitle.liquid @@ -1,4 +1,16 @@ +{% liquid + capture shx_current_page + render "shx-get-current-page" + endcapture + + assign shx_subtitle_color = "#AF9363" + + if shx_current_page contains "texte" + shx_subtitle_color = settings.color_schemes["scheme-shx-texte"]["settings"]["background"] + endif +%} +