Magento-Bootstrap theme it is package fully based on Twitter Bootstrap framework.
Current version: Alpha
- Bootstrap v2.3.1
- Font Awesome v3.0.2
- HTML5 support
- Microdata support (schema.org)
modman clone [email protected]:EcomDev/mbootstrap.git mboostrap
- Open Admin Panel
- go to System -> Configuration
- open Design tab on left sidebar
- open Package section
- write "bootstrap" in Current Package Name field
- press "Save Config" button
- Refresh front-end page and enjoy
Really it is very-very easy to use :)
Develop process as usual for Magento theme (more about front-end develope for Magento you can see on Designer's Guide To Magento)
You need create custom theme based on Magento-Bootstrap theme.
After git clone
command you will have next folder hierarchy:
.
├── app
│ └── design
│ └── frontend
│ └── bootstrap
│ └── default
├── skin
│ └── frontend
│ └── bootstrap
│ └── default
So you need create new theme in bootstrap package
Example
.
├── app
│ └── design
│ └── frontend
│ └── bootstrap
│ ├── default
│ └── custom-theme
├── skin
│ └── frontend
│ └── bootstrap
│ ├── default
│ └── custom-theme
That's it! Now you can develope your custom theme based on Magento-Bootstrap theme
(i) don`t forget enter your just created theme name (in example it is custom-theme) at Admin Panel (System -> Configuration -> General -> Design tab -> Themes section -> Default field)
Open magento/skin/frontend/bootstrap/default path
.
├── Makefile -- Script file with *compile* less to css and *watch* file system changes commands. Open it and read *How to use*
├── bootstrap -- Bootstrap framework source files
├── css -- Theme css files compile there
├── fonts
│ └── Font-Awesome -- The iconic font designed for use with Twitter Bootstrap
├── images
├── js
├── less -- Theme less files
└── watcher.js -- More powerful watch program for OSX (with lessc, watchr, growl). Open it and read *Requirements* for use
Magento-Bootstrap theme contains also developers tools:
- run less to css compile
- run file system watching program and compile less to css automatically
For more information go magento/skin/frontend/bootstrap/default/ folder and read Makefile file
- Node.js -- Open http://nodejs.org and install latest Node.js version
- Bootstrap framework install -- Open magento/skin/frontend/default/bootstrap and run
$ npm install
command in terminal