How to Activate Dark Mode Permanently In Blogger Website

Many of the users like Dark mode and dark themed colors in their themes so today in this tutorial let's know about How can you set Dark mode

Activate Dark Mode 

Let's Do a Demo Here...! 

By this method you can permanently use dark mode and make light mode an alternative in your theme, Just follow the below simple steps 


How to Activate Dark Mode Permanently In JagoDesain Themes

Before making any changes in your theme XML I recommend you to take a Backup of your current theme. By chance if you face any errors you may easily restore it later on.

Step 1: First of all Login to your Blogger Dashboard

Step 2: On Blogger Dashboard, click Theme.

Step 3: Click the arrow down icon next to 'customize' button.

Step 4: Click Edit HTML, you will be redirected to editing page.

Step 5: Now search the code <body> and paste the following Code just below to it.

<b:class name='drK'/>

Step 6: I have marked some parts of the codes below that you need to replace with the new one, now just to find the below code that has been marked below and replce with the new code

To Find:

document.querySelector('#mainCont').classList.add('drK') : document.querySelector('#mainCont').classList.remove('drK')
Replace with:
document.querySelector('#mainCont').classList.remove('drK') : document.querySelector('#mainCont').classList.add('drK')

Step 7: Save the changes by clicking on this icon

Conclusion

This is all about making a Contact Form using Telegram Bot API. I hope you enjoy this article. Please do share this article. And if you are facing problem in any section or you have any question then ask us in .

Copyright ©

About the author

ȺҍժմӀӀąհ
Student | Mathematician | Tricker

Post a Comment