Skip to content

Tanmay-Sherekar/my-tailwind-theme

Repository files navigation

My Tailwind Theme

A custom WordPress theme built with Tailwind CSS, designed to be lightweight, responsive, and fully customizable. Ideal for blogs, business websites, or eCommerce with WooCommerce support.

Theme Screenshot


🚀 Features

  • Built with Tailwind CSS (utility-first styling)
  • Fully responsive design
  • Supports WordPress menus, post thumbnails, and title tags
  • Optional WooCommerce support
  • Fast and lightweight, optimized for modern browsers
  • Ready for customization and development

📁 Folder Structure


my-tailwind-theme/
│
├── style.css          # Theme info
├── functions.php      # Enqueue styles & setup theme
├── index.php          # Main template
├── header.php         # Header template
├── footer.php         # Footer template
├── screenshot.png     # Theme screenshot
├── assets/
│   └── css/
│       └── style.css  # Compiled Tailwind CSS
└── src/
└── input.css      # Tailwind input file


⚡ Installation

  1. Clone or download this repository into your WordPress wp-content/themes/ folder:
git clone https://github.com/yourusername/my-tailwind-theme.git
  1. Install dependencies:
cd my-tailwind-theme
npm install
  1. Build Tailwind CSS:
npm run build
  1. Activate the theme in WordPress Admin:
  • Go to Appearance → Themes
  • Click Activate on My Tailwind Theme

🛠 Development

  • Tailwind CSS is configured to scan all PHP files:
module.exports = {
  content: ["./*.php", "./**/*.php"],
  theme: { extend: {} },
  plugins: [],
}
  • To watch CSS changes during development:
npm run build
  • For production, use the minified build:
tailwindcss -i ./src/input.css -o ./assets/css/style.css --minify

🎨 Customization

  • Add new styles in src/input.css
  • Extend Tailwind configuration in tailwind.config.js
  • Add custom templates (page.php, single.php) as needed
  • Use WordPress template tags and hooks for dynamic content

🧩 WooCommerce Support

  • Theme supports WooCommerce:
add_theme_support('woocommerce');
  • You can style WooCommerce templates using Tailwind utilities
  • Compatible with product grids, single product pages, and cart pages

🔗 Useful Links


⚖ License

This project is licensed under the MIT License. See the LICENSE file for details.

Do you want me to create that enhanced version?

About

Developed the wordpress theme using Tailwind CSS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors