Ease of frontend customization
Merchants are encouraged to use Magento components and themes to extend and transform the appearance of their storefronts.
Storefront customization tools
Magento provides several tools to help you significantly jumpstart the storefront customization process:
See the Frontend Developer Guide for information on creating your themes.
Magento Blank theme
The Magento blank theme template provides a launchpad for storefront customization. You can use this boilerplate as a robust starting point for your own theme development.
Magento UI components
Using Magento standard coding and styling tools can help:
- enforce for consistency in design across your storefronts
- simplify (and speed up) the design process
This component library contains standard reusable components for form features, such as fields and buttons, and navigation elements. The Magento UI library is a set of generic web components and Magento-specific patterns, which simplifies the process of Magento theme creation and customization.
See Overview of UI components for details about this library.
Magento Admin pattern library
A pattern library is a collection of user interface (UI) design patterns that can be re-used in locations throughout your product installation. The Magento Admin Pattern Library defines examples of components that administrators working with the storefront can use.
Form elements included in the Magento Admin pattern library include:
- address form
- button bar
- sign-in form
Users of the default Magento storefront encounter examples of these form elements throughout the product. These patterns provide a valuable language of software components (and indirectly, user experiences) for extension developers and administrators.
See Magento Admin Pattern Library for more information on using this library.
Storefront customization levels
These four levels of potential storefront customization are listed in order to increase complexity.
Extend Magento-Provided CSS
Magento supplies a default theme and a Less-based CSS. You can substantially change a storefront using CSS only. This uncomplicated strategy might suit projects with a limited budget, or might interest developers who create different skins for a site. A small business enter this process of storefront customization by buying a third-party developed theme from Magento Marketplace to extend the default values.
Replace PHTML template files
In addition to extending the default CSS, you can generate different HTML markup. For example, you might need to add a missing CSS class name, or add an extra
Replace Magento-Provided CSS
Rather than edit the default CSS provided by Magento, you might decide to replace all the default storefront CSS code with your own. This strategy avoids tying a project to the Magento-provided CSS, but puts a greater burden on project development and integration. It also allows the use of different CSS tools or technologies not provided with Magento. Partners who build their own set of CSS libraries could reuse these libraries on different customer projects. (These unique CSS libraries may help differentiate a partner from others in the market.)
Delivering a sharply different shopping experience than the default Magento installation provides is a more substantial task. However, the tradeoff might be a more complicated experience integrating additional extensions into your installation in the future.