Hi,
I downloaded free zen cart template from 1 2 l e a v e s .com. I realy like it! But i need a home page banner like on thier red styled template live demo.
Is there an easy way to add it?
Thanks.
Hi,
I downloaded free zen cart template from 1 2 l e a v e s .com. I realy like it! But i need a home page banner like on thier red styled template live demo.
Is there an easy way to add it?
Thanks.
Where is your site?
Zen-Venom Get Bitten
I dont see any red stuff on their site, but no matter...
The header logo will either be a JPG or GIF file in that template's images folder.
includes/templates/THAT-RED-TEMPLATE/images/logo.gif (or logo.jpg)
Just replace it with yours.
You can ensure pixellation is correct by ensuring the height given in the stylesheet for #logoWrapper (if applicable) corresponds with the pixel height of your new logo.
includes/languages/english/header.php
or
includes/languages/english/THAT-RED-TEMPLATE/header.php
... will contain important defines that reference the header logo (such as logo.gif - if you want logo.jpg, then that define needs changing...
20 years a Zencart User
Greetings,
My live demo of red template variation is on the detail pages of every free zen cart templates. For example:
1 2 l e a v e s .com/shop/html/liteblue-zen-cart-template-p29787.html
Click on the "LIVE DEMO" link under "add to cart" section.
To add the home page banner you should:
1. Upload a banner image to your Zen Cart folder with FTP client (for example: YOUR_ZEN_CART/images/home_banner.jpg)
2. Log in to your administration panel, open the Tools --> "Define Pages Editor" section, click on the "Select a file to edit" selectbox and choose file "define_main_page.php"
3. Add a link to your banner into appeared text area:
<a href="index.php?main_page=specials"><img title="" alt="" src="images/home_banner.jpg"/></a>
4. Click "Save" button.
5. Click "F5" on your store front home page in your browser (or refresh it).
That is all.
OR/AND you can edit the following file for your needs:
\includes\templates\[YOUR_TEMPLATE]\templates\tpl_index_default.php
You can comment or delete following lines of this file if you don't want the "Welcome text" appears:
<h1 id="indexDefaultHeading"><?php echo HEADING_TITLE; ?></h1>
<?php if (SHOW_CUSTOMER_GREETING == 1) { ?>
<?php echo zen_customer_greeting(); ?>
<?php } ?>
<?php if (TEXT_MAIN) { ?>
<div id="" class="content"><?php echo TEXT_MAIN; ?></div>
<?php } ?>
thank you very much!!! i'll try it on my local installation.
Bookmarks