Hello Guys Welcome back to Techy DarshaN, Today on this occasion our Tutorial is How to Activate Dark Mode Permanently In JagoDesain Themes.
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 by default in JagoDesain's Themes (Median UI, Fletro Pro and iMagz)
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.
document.querySelector('#mainCont').classList.add('drK') : document.querySelector('#mainCont').classList.remove('drK')
document.querySelector('#mainCont').classList.remove('drK') : document.querySelector('#mainCont').classList.add('drK')
Step 7: Save the changes by clicking on this icon
© Copyright Techydarshan.in