As part of your online store design, you may wish to use a specific font or add a flourish to your sidebox headings. It is easy to specify an image for Zen Cart to use for the sidebox headings so you can go from the default look to something more ‘you’.

To replace a sidebox heading with an image:
- First up you will need to create the image that you want to use for the sidebox heading. Remember to keep the image width within your column width.
- Upload the image via your FTP client to the images folder for your current template, /includes/templates/CUSTOM/images/.
- Next, open the english.php file located in the /includes/languages/ directory.
- Find this section of code:
// categories box text in sideboxes/categories.php define('BOX_HEADING_CATEGORIES', 'Categories'); - and modify the define statement to include the call to the required image:
// categories box text in sideboxes/categories.php define('BOX_HEADING_CATEGORIES', '<img src="/includes/templates/CUSTOM/images/categories.jpg" />');Make sure you copy the image name exactly, remembering that your web server is likely to be case sensitive.
** Be sure to keep the single quote marks in your new define statement.
- Save the modified english.php file to your override folder. This will be /includes/languages/CUSTOM/ where CUSTOM represents the name of your current template folder.
|
|||||||





#1 by Jessica on 28 March, 2011 - 11:20 am
Hi Kerrin,
I have tried to no avail to get this tutorial, but my template did not have a CUSTOM folder in the /includes/languages folder. What should I do?
Thanks,
Jess
Floppy Latte
#2 by Jessica on 28 March, 2011 - 11:22 am
I should mention that I am using a PINK Boutique from the templates site from Zen Cart. I am not sure if you can assist e or not, if no, I will go to the zen boards, but they really get me, so much technical jargon
Thanks so much
Jessica
#3 by kerrin hardy on 3 April, 2011 - 6:15 pm
Hi Jessica
It just means that your current template does not include any language overrides at the moment. You need to create a folder and name it the same as your template name – check your includes/templates folder to get the right name.
Hope this helps,
Kerrin