templaza / astroid-framework

Powerful framework for designers and developers to create responsive, fast & robust Joomla based websites and templates.
https://astroidframe.work/
GNU General Public License v3.0
76 stars 12 forks source link

Color mode switcher always visible in Sticky Header #660

Closed GeoffroyVD closed 1 month ago

GeoffroyVD commented 2 months ago

The color mode switcher for (Light/Dark Theme) is always visible in the Sticky Header also when you define a module position of hidden or COM_MODULES_NONE. For Astroid Template Zero and Astroid Template Two

For my configuration with Astroid Template Zero it is coming twice in the Sticky Header when I define it in position topbar-2 or header-right like defined in Header section configuration.

See the different screenshots of the configurations.

Header section config Sticky Header with color mode enabled Header with color mode enabled

sonvnn commented 1 month ago

Dear @GeoffroyVD

Thanks for report issue. I fixed this at https://github.com/templaza/astroid-framework/commit/cbb319a0025eed056244de9a80759b1ed213c05f

Please help me download v3-branch and re-test again.

Best Regards, Sonny

GeoffroyVD commented 1 month ago

Dear @sonvnn,

It is working like expected. Thanks for the quick fix of it.

THX, @GeoffroyVD