The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Switch between ligh...
 
Share:
Notifications
Clear all

Question [Solved] Switch between light and dark mode: CSS

3 Posts
2 Users
0 Reactions
1,298 Views
Posts: 19
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@powcom)
Eminent Member
Joined: 5 years ago
[#7616]

Our new theme, like many other modern themes, has an option for the site user to switch between normal (or light) and dark mode at the click of a button. I know wpDiscuz has the ability of choose between light or dark - can you point me to where I can find both sets in one CSS, so we can let the theme switch automatically between the two please


2 Replies
Asti
Posts: 8208
 Asti
Support
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@asti)
Illustrious Member
Joined: 8 years ago

@powcom,

You should use custom CSS code for changing the styles in dark and light modes. 

The dark mode has a specific .mode--alt--b class. So you can make the customizations based on it. 

Please watch this small video instruction: https://monosnap.com/file/87i19NVx0nZVF74U5N1aajJ2RCSde6

 


Posts: 19
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@powcom)
Eminent Member
Joined: 5 years ago

Great tip @Asti - I'll take have a go at that next week. Thanks


Share: