If you have any questions about my Templates, please ask them here.
Happy Zen-ning
JT
If you have any questions about my Templates, please ask them here.
Happy Zen-ning
JT
hi...
thanks for the beautiful GTI templates.
I've applied the red one to my webstore.
I would like to make a little adjustment to the contents and need your help to make it happen. Pls refer attached image for my case.
I want to add new link right beside the Advanced Search in the picture. I've go through every files in your templates. but i can't find where to modified. FYI - i'm not quit familiar with PHP coding.
Thanks.
Regards.
My Online Store
Sumri (The Founder)
Thanks, glad you like it.
The file that you are looking for is located here:
includes/templates/gti_custom_red/common/tpl_header.php
Look around lines 107 to 115
Add your link as shown above before the <br class="clearboth">Code:<div id="altLinks"> <a href="<?php echo zen_href_link(FILENAME_SPECIALS, '', 'NONSSL'); ?>"><?php echo HEADER_SUB_SPECIALS;?></a> | <a href="<?php echo zen_href_link(FILENAME_FEATURED_PRODUCTS, '', 'NONSSL'); ?>"><?php echo HEADER_SUB_FEATURED;?></a> | <a href="<?php echo zen_href_link(FILENAME_PRODUCTS_ALL, '', 'NONSSL'); ?>"><?php echo HEADER_SUB_ALLPRODUCTS;?></a> | <a href="<?php echo zen_href_link(FILENAME_ADVANCED_SEARCH, '', 'NONSSL'); ?>"><?php echo HEADER_SUB_ADVANCED_SEARCH;?></a> <br /><br /> <?php echo HEADER_SUB_SEARCH; ?> <?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?> ADD YOUR LINK HERE <br class="clearBoth" />
Now that I look at my reply, you want to ADD your link before the 2 <br /><br /> in this line.
This line is the Search Box on the line below where you want to add your link.Code:<br /><br /> <?php echo HEADER_SUB_SEARCH; ?> <?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?>
JT
Thanks for sharing, it is a good template.
electronic translator, best sellers french electronic dictionary
Still updating my store.
Can somebody help me to center alignment this picture (pls see attached pic).
TQVM.
My Online Store
Sumri (The Founder)
You need to drop some divisions and the pad the left side a bit. You have this:
Change to to this:Code:<div class="leftBoxContainer" id="ccaccept" style="width: 190px;"> <h3 class="leftBoxHeading" id="ccacceptHeading">We Accept ...</h3> <div id="ccacceptContent" class="sideBoxContent"> </div> <img id="ccMC" class="cc_img" src="images/cc_logos/logo_mb2u.gif" alt="Maybank2u"> <div id="ccacceptContent" class="sideBoxContent"> </div>
Then pad the .cc_img in your stylesheet.css .Code:<div class="leftBoxContainer" id="ccaccept" style="width: 190px;"> <h3 class="leftBoxHeading" id="ccacceptHeading">We Accept ...</h3> <div id="ccacceptContent" class="sideBoxContent"> <img id="ccMC" class="cc_img" src="images/cc_logos/logo_mb2u.gif" alt="Maybank2u"> </div>
This will also put it inside the sidebox instead of between them.
Thanks for the quick reply.
This is the original scripts in tpl_cc_accept.php
seems like the given solution has been converted into full html script i guess.Code:$content = ''; $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n"; $content .= '<img id="ccMC" class="cc_img" src="images/cc_logos/logo_mb2u.gif" alt="Maybank2u"/>' . "\n" . $content .= '</div>' . "\n";
My Online Store
Sumri (The Founder)
Just adding #ccaccept {text-align: center} would center your image.
But there is a different problem in that your add-in seems to be repeating the bix divs, and that couldn't be done by the code that you have posted. Is that code being overridden somewhere in your template.
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)