Hello
How i can add button dark mode in header
And show like in photo in mobile menu
Button dark mode
5 replies · opened Jun 11, 2023
Hello,
This is definitely possible! You can simply the Codes from the color-mode-switcher.html Template. You can consider using this code:
[ch_pre]Light Mode" data-remove-html="Dark Mode">Dark Toggle[/ch_pre]
Simply add this within the .header-misc DIV.
This will definitely work fine. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Its work
But i have some problems
1- When I choose the dark mode, the button for the mode does not appear When you click on any part of the page, but it is present ,, and it appears well in mobile mode.
2- the footer don't work in dark mode
3- some section in dark mode don't work in home page
4- header When going down it turns white in dark mode
5- some section text in it It becomes light gray and does not appear well and this is because the section did not turn to dark mode
6-contact us,, some section in it Does not work well in dark mode
Thanks alot for your helping
Hello,
We can see the Dark/Light Toggle Button on both Large and Mobile Devices.
The Footer has the
.bg-whiteClass which is an absolute Class. You will need to use Contrast Classes: https://docs.semicolonweb.com/docs/utility-classes/contrast/ instead to make the Dark Mode work correctly. Consider using.bg-contrast-0instead.This is also due to Absolute Classes. Use contrast classes as point 2.
Remove
data-sticky-class="not-dark"Attribute.This is also due to Absolute Classes. Use contrast classes as point 2.
This is also due to Absolute Classes. Use contrast classes as point 2.
We Apologize for the Inconveniences, however, we currently do not provide Customization related Support according to the Item Support Policy: https://themeforest.net/page/item_support_policy and https://support.semicolonweb.com/support-policy/ . You will need to manually code this or Hire a Freelancer to help you out.
Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
thanks for helping me
the logo in footer in dark mode is dark
how i set logo in dark mode by white and in normal mode br dark
like header
thanks alote
Hello,
Currently the Contrast Classes are applicable only for Text Color, BG Colors and Border Colors. You will need to use Custom CSS in order to change images based on Dark/Light Classes. Consider using his code:
[ch_pre]
.contrast-image-light {
display: block;
}
.dark .contrast-image-light,
.contrast-image-dark {
display: none;
}
.dark .contrast-image-dark {
display: block;
}




[/ch_pre]
This will definitely work fine. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard