diff --git a/assets/css/frontend/layout.css b/assets/css/frontend/layout.css index e733b510..ac34de83 100644 --- a/assets/css/frontend/layout.css +++ b/assets/css/frontend/layout.css @@ -59,7 +59,7 @@ * * Desktop columns use Grid so the sidebar is always a real second column. * The float rules below remain as a narrow-screen compatibility fallback; - * below 992px the sidebar is intentionally hidden. + * below 768px the sidebar is intentionally hidden. * ============================================================ */ main.container, @@ -196,7 +196,7 @@ body.site-layout-3 .sidebar, * leave the sidebar outside the visible painting area when a parent clips * horizontal overflow. Put the two direct children in explicit grid columns * instead, so widgets cannot be positioned off-canvas. */ -@media (min-width: 992px) { +@media (min-width: 768px) { body.site-layout-2 main.container, body.site-layout-2 main.content-shell, body.site-layout-2 .site-main.container { @@ -256,6 +256,7 @@ body.site-layout-3 .sidebar, body.site-layout-2 main.container > .sidebar, body.site-layout-2 main.content-shell > .sidebar, body.site-layout-2 .site-main.container > .sidebar { + display: block; float: none; grid-column: 2; grid-row: 1; @@ -267,6 +268,7 @@ body.site-layout-3 .sidebar, body.site-layout-3 main.container > .sidebar, body.site-layout-3 main.content-shell > .sidebar, body.site-layout-3 .site-main.container > .sidebar { + display: block; float: none; grid-column: 1; grid-row: 1; diff --git a/assets/js/effects.js b/assets/js/effects.js index 1dd57441..7f0bc497 100644 --- a/assets/js/effects.js +++ b/assets/js/effects.js @@ -168,7 +168,9 @@ document.addEventListener('DOMContentLoaded', function () { initCountUp(); initCountdown(); - initMarquee(); + if (typeof initMarquee === 'function') { + initMarquee(); + } initTilt(); initFpsDetection(); });