How to make a site always load in dark mode?

More
10 months 2 weeks ago #51041 by kvaliteta.sigurnost
As a title says, is there a way to make a site always load in dark mode (all pages)?
Thanks

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
10 months 2 weeks ago #51042 by milos
Hello,

Please edit the file /media/templates/site/darkmode/js/custom.js and delete this part:
Code:
if (isDayTime) { jQuery('body').toggleClass('light_mode'); }

Regards,
Milos

Please Log in to join the conversation.

More
10 months 1 week ago - 10 months 1 week ago #51043 by kvaliteta.sigurnost
I deleted this, and the page still loads white. EDIT - it suddenly loads in Dark mode, after 15 minutes...
Site address is cardano.club

Also, how to remove Template by... from the footer?
Thanks
Last edit: 10 months 1 week ago by kvaliteta.sigurnost. Reason: Update

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
10 months 1 week ago #51044 by milos
Hello,

It's always in dark mode on my computer. Please try clearing your browser's cache.

If you want to change just your company name in the copyright text, you can do it in template parameters: Extensions > Templates > "Template Name" > Features > Branding (Joomla 3) or System > Site Template Styles > "Template Name" > Features > Branding (Joomla 4 and 5). It's valid only for newer templates, if you have an older template, there's no such option.

If you want to change the copyright text more, you should edit the file "/templates/sparky_framework/library/c.php" (open it in any plain text editor and change the copyright paragraph).

Regards,
Milos

Please Log in to join the conversation.

Time to create page: 0.257 seconds
Powered by Kunena Forum