Get 2024 Templates Mega Bundle!19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets
Get for 99$

Demo 1 v8.2.3 - Mobile - Dark Header - Side menu links white on click


Hello,

on Metronic v8.2.3, Demo 1, when using dark header, the parent menu links on mobile turn white on touch/click/hover, making them invisible as the background is also white.

Is there a fix for this so that the parent links are visible?

To replicate, go to the layout builder https://preview.keenthemes.com/metronic8/demo1/layout-builder.html and change only the layout to dark header and preview. Change to mobile view on Chrome and click the side menu button.

Regards
Chris


Text formatting options
Submit

Replies (1)


Hi,

Thank you for the feedback. Good spot. We will fix it in the next update asap.

In the meantime, you can just fix it in your source by editing src/sass/layout/header/_header-dark.scss to apply the dark menu theme only for desktop mode:


[data-kt-app-layout="dark-header"] {
@include media-breakpoint-up(lg) {
// General mode
.app-header-menu {
}
}
}


Then recompile your assets folder with Gulp or Webpack.

Please note that the build tools are required only in the development environment just to compile the assets when the source folder files are modified. In the hosting/server deployment, you will only need the compile assets, no need to install the build tools dependencies there.


Regards.


Text formatting options
Submit
Text formatting options
Submit