[pmwiki-users] Is there an easy way to remove the icon "Toggle dark theme" at the top of the page?

Petko Yotov 5ko at 5ko.fr
Sun Jul 6 12:44:32 PDT 2025


On 06/07/2025 21:38, Christopher Pinon wrote:
> A quick question: is there an easy way to remove the icon "Toggle dark
> theme" at the top of the page of the (default) skin PmWiki-responsive?

Yes, you can add this to pub/css/local.css:

   #wikihead .pmToggleDarkTheme {
     display: none;
   }

If the file doesn't exist, create it.

If this is a field in a wiki farm, pub/css is in the directory where 
where your index.php is.

> I know about
> 
> $EnableDarkThemeToggle = 0;
> 
> but this still leaves the (no longer functional) icon visible.

Oh, we should indeed remove this, let me think about it.

Thanks!
Petko



More information about the pmwiki-users mailing list