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

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

3 Posts
2 Users
0 Likes
333 Views
Posts: 18
Topic starter
(@powcom)
Eminent Member
Joined: 4 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: 7170
 Asti
Support
(@asti)
Illustrious Member
Joined: 6 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: 18
Topic starter
(@powcom)
Eminent Member
Joined: 4 years ago

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

Share: