MobilePro is a modern, mobile-first, highly optimized style for phpBB 3.3+, built with Tailwind CSS. It is designed to modernize the forum experience, making it feel like a modern web application, especially on mobile devices.
- Mobile-First Design: Fully responsive layout prioritizing mobile user experience.
- Tailwind CSS Powered: Utilizes the utility-first framework for rapid, consistent, and maintainable styling.
- Dark Mode Support: Built-in seamless dark mode integration using Tailwind's
dark:classes. - Modern Typography: Uses Google's "Plus Jakarta Sans" for exceptional readability.
- Iconography: Employs crisp "Material Symbols Outlined".
- App-like Navigation: Replaces the traditional footer with a sticky bottom navigation bar.
- Bento Card Layouts: Content blocks (forums, topics, stats) are organized in elegant, rounded cards.
- phpBB Compatibility: Carefully refactored to wrap, but not remove, essential phpBB
<!-- EVENT ... -->hooks and loops to ensure seamless operation with extensions.
- Base: Forked from phpBB's default
prosilver. Structure remains intact. - CSS Framework: Tailwind CSS 3.x (Pre-compiled locally into a minified
tailwind.cssfile for maximum performance). - Icons: Material Symbols Outlined (Downloaded and served locally via
fonts.css). - Fonts: Plus Jakarta Sans (Downloaded and served locally via
fonts.css).
Comprehensive documentation for extension developers is available in the contrib/ directory:
-
Developer Guide — Full reference for extension authors covering the design system (colors, typography, spacing, dark mode, icons), component patterns (cards, buttons, forms, pagination), page layout structure, template integration, Tailwind build process, and best practices checklist.
-
Custom Template Events — Detailed list of all custom template events introduced by MobilePro, organized by location (header quick actions, footer navigation, side drawer). Use these hooks to inject content into the mobile-first layouts without modifying core files.
The primary color of the theme is controlled via native CSS variables. To change the theme color, you do not need to recompile Tailwind.
- Open
theme/stylesheet.css. - Locate the
:rootblock at the top. - Change the
--color-primaryRGB values (e.g.18 163 235for blue). - Save the file and purge the phpBB cache.
If you wish to modify the .html templates and use new Tailwind classes that haven't been compiled yet, you must rebuild the CSS file:
- Ensure you have Node.js installed.
- In the
styles/MobileProdirectory, runnpm installto download Tailwind dependencies. - To build the CSS once, run:
npx tailwindcss -i theme/tailwind-input.css -o theme/tailwind.css --minify - For active development, watch for changes:
npx tailwindcss -i theme/tailwind-input.css -o theme/tailwind.css --watch
Any styles that absolutely cannot be handled by Tailwind's utility classes or require deep, overriding specificity should be placed in theme/stylesheet.css. The default prosilver CSS imports have been disconnected to prevent conflicts, letting Tailwind drive the primary styling format.
If you find MobilePro useful and would like to support its continued development, consider buying me a coffee:
Provided under the GNU General Public License v2 (GPL-2.0-only). See the parent phpBB software licensing for more details on base structural use.