Cre Load Templates - Changing Logotype in CRE Loaded Templates
Changing Logotype in CRE Loaded Templates
The source images of the Cre Loaded template are located in /images directory of the template.
Path to image from the root directory (where Cre Loaded shopping cart is installed) is as follows:
/templates/DDDD_name/images/logo.gif, where DDDD_name is the name of the template you want to customize. The simplest way to set your logo is to replace the logo.gif file with your logotype that is named the same and has similar size to fit the design.
If you need to change the file name of the logo, you will need to edit respective code that is located in the /common directory of Cre Loaded template (/templates/DDDD_name/common) in the header.php file and sometimes in main_page.tpl.php file, depending on the template design.
You will need to find the line with the code:
Replace logo.gif name of the logo file with other name, for example logo.jpg.
STORE_NAME - is the alternative text of the logotype picture that is equal to the store name by default.
tep_template_image() - this function inserts the code of the following type <img src="path/to/image.ext" alt="image" width="100" height="100" />