The fastest Bootstrap 5 WordPress starter theme. Experience the power of SASS merged with the WordPress Customizer.
Picostrap 5 leverages the flexibility of Bootstrap 5 (currently v5.3+) and integrates it deeply with the WordPress Customizer. Customize Bootstrap's look and feel directly from your WordPress backend, and Picostrap will recompile the necessary CSS on the fly using a built-in SASS compiler that runs right in your browser.
Watch the introduction video to get started! Visit the Picostrap website
- Bootstrap 5.3+ Integration: Built on the latest stable version of the world's most popular front-end framework.
- Live SASS Compilation: Modify Bootstrap SCSS variables (colors, fonts, spacing, components, etc.) directly through the WordPress Customizer. Picostrap uses PicoSASS (an implementation of Dart SASS running in the browser via JSPM) to recompile your CSS instantly upon hitting "Publish" or via a manual trigger in the admin bar.
- Single CSS Bundle: Generates a single, minified
css-output/bundle.css
file for optimal performance. - Extensive Customizer Options:
- Control Bootstrap SCSS variables.
- AI Palette Generator: Generate color palettes using AI (powered by Huemint API).
- Live Style Guide Preview: See your changes reflected in a comprehensive style guide directly within the Customizer preview.
- Font Picker: Choose Google Fonts easily with a built-in font picker.
- Layout options (Navbar position, expansion, etc.).
- Toggle various theme features on/off.
- Opt-in Features: Keep your site lean by enabling only the features you need:
- Disable Gutenberg Editor (and its CSS)
- Disable Block-based Widgets Editor
- Disable WordPress Comments
- Disable XML-RPC
- Add a "Back to Top" button
- Enable GLightbox for image lightboxes
- Enable Bootstrap Tooltips & Popovers
- Enable Page Scroll Detection (adds body classes
scroll-position-at-top
/scroll-position-not-at-top
) - Open Main Menu on Hover (for non-touch devices)
- Performance Focused: Includes head cleanup (
clean-head.php
) to remove unnecessary WordPress meta tags, emoji scripts, etc. - Dark Mode Switch: Optional Bootstrap 5-compatible dark mode toggle.
- WooCommerce Ready: Includes basic support and template overrides for WooCommerce integration.
- LiveCanvas & WindPress Friendly: Designed to work well with the LiveCanvas page builder and WindPress Tailwind CSS integration plugins.
- Developer Friendly: Clean codebase, standard WordPress practices, starter theme philosophy. Uses a Bootstrap 5 Navwalker.
- Translation Ready: Includes language files (
.pot
,.po
) for easy translation.
- Installation: Install like any other WordPress theme. Download the
.zip
file and upload it via the WordPress admin panel (Appearance > Themes > Add New
) or upload the extracted folder via FTP to/wp-content/themes/
. - Child Theme (Recommended): For customization beyond the Customizer, it's highly recommended to use a child theme. You can download a starter child theme from the Picostrap website.
- Customize: Navigate to
Appearance > Customize
in your WordPress admin panel. Explore the various sections (Colors, Typography, Global Options, Buttons, Forms, Navbars, etc.) to tailor the theme to your needs. - Compile SASS:
- Via Customizer: Make your changes and click "Publish". The SCSS will automatically recompile in your browser, and the new CSS bundle will be saved via AJAX.
- Via Admin Bar: While viewing the frontend (as an administrator), click the "SASS" icon in the admin bar and choose "Recompile Once" or "Recompile Continuously".
- Customizer Changes: When you modify SCSS variables in the Customizer, the values are saved as theme mods.
- PicoSASS Trigger: When you publish changes or use the admin bar trigger, the
picosass.js
script is loaded. - SCSS Generation: JavaScript reads the SCSS theme mods, constructs the SASS code (variables +
@import 'main';
), and passes it to the Dart SASS compiler running in the browser. - Compilation: PicoSASS fetches necessary Bootstrap SCSS files (from the theme folder, potentially falling back to the parent theme if using a child theme) and compiles the final CSS.
- Live Preview: The compiled CSS is injected into the Customizer preview iframe (or the main page if using the admin bar trigger) via a
<style id="picosass-injected-style">
tag. - Saving: After compilation (and Customizer save, or manual trigger completion), the compiled CSS is sent via AJAX to a WordPress action (
picostrap_save_css_bundle
) which saves it to/wp-content/themes/(your-theme)/css-output/bundle.css
. The theme modcss_bundle_version_number
is incremented to ensure cache busting.
Note: SASS compilation requires administrator privileges and happens in the administrator's browser.
- WordPress Customizer: The primary way to customize colors, typography, and theme options.
- Child Theme SCSS: For more advanced CSS or structural changes, create a child theme and edit the
sass/_custom.scss
file. Remember to recompile using the admin bar link after saving your changes.
Many features can be toggled on or off under Customize > Global Utilities
. This allows you to load only the code you need. Features include:
- Disable Gutenberg Editor & CSS
- Disable Block-based Widgets Editor
- Disable WordPress Comments entirely
- Disable XML-RPC for security
- Add a "Back to Top" button
- Enable GLightbox JS library for image lightboxes
- Enable Bootstrap Tooltips & Popovers initialization script
- Enable Page Scroll Detection script
- Open Main Menu on Hover script
- WooCommerce: Theme support and basic template adjustments included.
- LiveCanvas: Tested and marked as friendly (
lc_theme_is_livecanvas_friendly
). Respects LC's header/footer handling options. - WindPress: Includes specific support for integrating with the WindPress plugin for Tailwind CSS scanning (
inc/windpress-support.php
).
Picostrap 5 is licensed under the GPL v2 or later.