Zen Follower
- Join Date:
- Apr 2008
- Posts:
- 356
- Plugin Contributions:
- 2
GTI Custonm Templates Support
If you have any questions about my Templates, please ask them here.
Happy Zen-ning
JT
Views: 2,628
Zen Follower
If you have any questions about my Templates, please ask them here.
Happy Zen-ning
JT
New Zenner
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)
Zen Follower
sumri:
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.
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
<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" />
Add your link as shown above before the <br class="clearboth">
Zen Follower
Now that I look at my reply, you want to ADD your link before the 2 <br /><br /> in this line.
<br /><br />
<?php echo HEADER_SUB_SEARCH; ?>
<?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?>
This line is the Search Box on the line below where you want to add your link.
JT
New Zenner
Thanks for sharing, it is a good template.
electronic translator, best sellers french electronic dictionary
New Zenner
Still updating my store.
Can somebody help me to center alignment this picture (pls see attached pic).
TQVM.
My Online Store
Sumri (The Founder)
Zen Follower
sumri:
Still updating my store.
Can somebody help me to center alignment this picture (pls see attached pic).
TQVM.
You need to drop some divisions and the pad the left side a bit. You have this:
<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>
Change to to this:
<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>
Then pad the .cc_img in your stylesheet.css .
This will also put it inside the sidebox instead of between them.
New Zenner
<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> ``` > > Change to to this: > ``` <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> ``` > > Then pad the .cc_img in your stylesheet.css . > This will also put it inside the sidebox instead of between them.JTheed:
You need to drop some divisions and the pad the left side a bit. You have this:
Thanks for the quick reply.
This is the original scripts in tpl_cc_accept.php
$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";
seems like the given solution has been converted into full html script i guess.
My Online Store
Sumri (The Founder)
Totally Zenned
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)
Tell staff why this post should be reviewed.