Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Table of Contents
maxLevel2
styledisc
printablefalse

Designer Guide

Anyone with knowledge of CSS and image manipulation can create a new theme for PrestaShop.

Tip

We recommend using the following tools:

  • Firefox: Firebug is a free extension for easy comparison and debugging between your CSS and the output.
  • Firefox/Chrome: Web Developer adds many handy web developer tools to your browser.
  • Safari/Chrome: enable the Web Inspector.
  • Opera: Dragonfly, a fully-featured debugging environment.
  • Internet Explorer 8+: Developer Tools are available through the Tools menu.

Internet Explorer users can also make use of Firebug lite.

Customizing the default theme

Follow the following steps below to create your own theme out of the PrestaShop default theme.

1. Copy the default theme

  1. Locate the ../themes directory in your PrestaShop install, and create a copy of the default ../themes/prestashop/ directory.
  2. Rename the duplicate.

Image Removed

2. Modify the CSS sheet

  • In the customized theme folder (e.g., ../themes/MyStoreTheme/), locate the /css folder.
  • Open the global.css file and change it according to your needs. This is where you are only limited by your creativity – and your knowledge of CSS.
    Note: the maintenance.css file, located in the same folder, controls the layout of the Maintenance Mode page.
  • New or modified images must be placed in the new theme's /img folder (e.g., ../themes/MyStoreTheme/img).
Tip
titleTips from the PrestaShop development team

3. Create a preview screen shot

Once your customized theme is ready, you must place a file representing the theme, called preview.jpg, in the theme's root folder (e.g., ../themes/MyStoreTheme). This file must be a 100 × 100 pixels .jpg file.

4. Test your theme

  1. Go to back-office's "Preferences" tab, then its "Appearance" and its "Themes" section.
  2. Select the new theme and click Save..

Image Removed

Share your themes!

Show off your hard work, get feedback, and build your reputation by sharing your theme in the Themes section of our Forum!

You can also sell theme to PrestaShop users through our Addons website!

Integration: where the hooks and modules are

One of the key point of integrating content within a PrestaShop theme is to know where said content is displayed, and therefore where the various hooks and modules are located.

Here is a graphical representation of where they are, for each page. You will find:

  • The name of the block.
  • The block's id, in order to target it with CSS.
  • The block's folder or template file, if you need to make changes to it.

Hooks

Main content areas

Image Removed

Header section

Image Removed

Homepage blocks

Image Removed

Category central column

Image Removed

Modules

Product page

Image Removed

Account forms & order steps

Image Removed

Account creation form

Image Removed

Order blocks

Image Removed

Addresses

Image Removed

Terms & Conditions and carrier choice

Image Removed

Payment module choice

Image Removed

Site map

Image Removed

Contact form

Image Removed

Stores page

Image Removed

The default PrestaShop install offers a neutral theme in shades of gray, enabling sellers to quickly and freely start their activity, whatever their business line.

More than 700 themes are available through the PrestaShop Addons marketplace. They were created either by the PrestaTeam or the PrestaShop community, and are sold at reasonable prices – some even free.

As a graphic designer/web developer, you too can put your themes up for sale on the PrestaShop Addons site, and earn 70% of the selling price.

Anyone with some knowledge of CSS and image manipulation can create a custom theme for PrestaShop. Provided you know PHP as well, you can build a whole new theme for your shop. Thanks to a tried and tested theme system, any shop can quickly sport a theme tailored to its needs.

Children Display

Training

PrestaShop also offers a complete training program tailored for designers. Contact us through this page: http://www.prestashop.com/en/training