The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Switch between ligh...
 
Share:
Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

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

3 Posts
2 Users
0 Reactions
875 Views
Posts: 19
Topic starter
(@powcom)
Eminent Member
Joined: 5 years ago

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: 8075
 Asti
Support
(@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
(@powcom)
Eminent Member
Joined: 5 years ago

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

Share: