Modifying the Files¶
After you have obtained the package archive, you need to extract its contents into a directory, and make the desired changes to the files. Otherwise, you can install the downloaded theme package on the server as is (as described in Installing Themes to Plesk) and then modify the files directly on the server.
Note
If you choose this way, be sure to set the theme information as described in the section Editing the Theme Information below before installing the theme.
Theme Package Structure¶
The following table explains the structure and contents of the directories and files contained within a theme package.
Note
To help you easily determine the styles or image files you need to change, we recommend using web development tools, such as, for example, Firebug for Mozilla Firefox, or Inspect Elements for Google Chrome. By using these tools, you can select an interface element and learn which styles are applied to it, in which file and line in that file they are defined.
When you need to revert your changes and use the default styles or
images, just delete your custom CSS definitions from the custom.css
file and remove the custom images from the /images/
and
/images/logos/
directories of your custom theme.
Editing the Theme Information¶
To edit your theme information:
Open the file meta.xml
and specify the following properties:
- name. Set the name you will use to refer to this theme. Use only latin characters and the minus sign (‘-‘) in the name.
- description. Provide a brief description of the theme.
- version. Specify the theme version.
- vendor. The name of your company or your name.