Configuring the Enforce Display Mode Setting
phpFox V5 (MetaFox) provides administrators with the ability to enforce a specific display mode (dark mode or light mode) across the site, ensuring a consistent user experience regardless of individual user preferences.
To force the use of a particular theme mode:
-
Access the Admin Control Panel (AdminCP) by logging in with administrative credentials.
-
Navigate to Settings > Site Settings.
-
Locate the Enforce Display Mode configuration option.
-
Select one of the available modes:
- Light Mode: Enforces the light theme, preventing users from switching to dark mode.
- Dark Mode: Enforces the dark theme, ensuring all users experience the dark interface.
-
Save the changes to apply the setting site-wide.
This configuration overrides any user-selected theme preferences and applies immediately to all site visitors.