Zen Follower
- Join Date:
- Jul 2008
- Posts:
- 362
- Plugin Contributions:
- 0
Views: 5,516
Zen Follower
Black Belt
Pic is nice....Post a link to this page for better results
Zen Follower
kobra:
Pic is nice....Post a link to this page for better results
Thanks! Sorry here is a link:
Report a price http://www.truwater.com.au/index.php?main_page=report_a_price&products_id=67
About us http://www.truwater.com.au/index.php?main_page=about_us
Black Belt
Those are defined in the associated files with the "H1" tag
Use the dev tool kit to find the file by entering the text that is too large and redefine as "H2" or "H3"
Zen Follower
kobra:
Those are defined in the associated files with the "H1" tag
Use the dev tool kit to find the file by entering the text that is too large and redefine as "H2" or "H3"
Ok i have found the file the text is located in for report a price includes/languages/english/report_a_price.php what would i need to do to refer it has H2 or H3?
Black Belt
What is it defined as now?
Zen Follower
kobra:
What is it defined as now?
Well the file i found the title to be in through dev kit has it as...
define('HEADING_TITLE', 'Report a Price About ');
Zen Follower
gee38l:
Well the file i found the title to be in through dev kit has it as...
define('HEADING_TITLE', 'Report a Price About ');
gee38l,
Had the same problem. Here is how you correct the the problem.
Look at this file includes/templates/templates_default/templates/tpl_report_a_price_default.php about halfway down look for line 78 look for this
<legend><?php echo STORE_TITLE; ?></legend>
right underneath that place this
<br class="clearBoth" />
and you should line up correctly.
Zen Follower
<legend><?php echo STORE_TITLE; ?></legend> ``` > > right underneath that place this > ``` <br class="clearBoth" /> ``` > > and you should line up correctly.dscott1966:
gee38l,
Had the same problem. Here is how you correct the the problem.
Look at this file includes/templates/templates_default/templates/tpl_report_a_price_default.php about halfway down look for line 78 look for this
Excellent worked perfectlly Thanks!
You wouldnt happen to know how to get the heading size smaller or add a button to the products instead of a sidebox to report a price?
Zen Follower
gee38l:
Excellent worked perfectlly Thanks!
You wouldnt happen to know how to get the heading size smaller or add a button to the products instead of a sidebox to report a price?
What i did was added a picture to the product page.
If you look here: http://dealz-r-us.com/index.php?main_page=product_info&cPath=2_24&products_id=55
You will see the image underneath the product picture that says 100% price match. Is that what your looking to do? It goes right to the report a price page when you click it.
Zen Follower
dscott1966:
What i did was added a picture to the product page.
If you look here: http://dealz-r-us.com/index.php?main_page=product_info&cPath=2_24&products_id=55
You will see the image underneath the product picture that says 100% price match. Is that what your looking to do? It goes right to the report a price page when you click it.
Thats exactly what im looking to do ..... Could you please show me how to get this done?
IM still learning php and css
Zen Follower
gee38l:
Thats exactly what im looking to do ..... Could you please show me how to get this done?
IM still learning php and css
First create the image that you want. Than add the image to your folder includes/templates/your_template/buttons/english
Second open up your file includes/templates/your_template/templates/tpl_product_info_display.php and add this code where you want it. Like in mine i added right after this block of code.
<!--bof Main Product Image -->
<?php
if (zen_not_null($products_image)) {
?>
<?php
/**
* display the main product image
*/
require($template->get_template_dir('/tpl_modules_ajax_image_viewer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_ajax_image_viewer.php');?>
<?php
}
?>
<!--eof Main Product Image-->
```but you can put it wherever you like it to go.
Here is the code you need:
<b><?php echo '<a href="' . zen_href_link(FILENAME_REPORT_A_PRICE, 'products_id=' . $_GET['products_id']) . '">'; ?><img src="includes/templates/your_template/buttons/english/picture name.jpg" alt="Price Match" /></b>
Zen Follower
<!--bof Main Product Image --> <?php if (zen_not_null($products_image)) { ?> <?php /** * display the main product image */ require($template->get_template_dir('/tpl_modules_ajax_image_viewer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_ajax_image_viewer.php');?> <?php } ?> <!--eof Main Product Image-->dscott1966:
First create the image that you want. Than add the image to your folder includes/templates/your_template/buttons/english
Second open up your file includes/templates/your_template/templates/tpl_product_info_display.php and add this code where you want it. Like in mine i added right after this block of code.
>
> Here is the code you need:
> ```
<b><?php echo '<a href="' . zen_href_link(FILENAME_REPORT_A_PRICE, 'products_id=' . $_GET['products_id']) . '">'; ?><img src="includes/templates/your_template/buttons/english/picture name.jpg" alt="Price Match" /></b>
``` don't forget to modify the code in red to reflect where the image is. and that should be it.
Thanks for that i think i have it working.
Just one thing how can i position the price match image inline with the pricing on the left of it?
Actually i would like it below the tell a friend button?
Zen Follower
gee38l:
Thanks for that i think i have it working.
Just one thing how can i position the price match image inline with the pricing on the left of it?Actually i would like it below the tell a friend button?
Find this code ```
<!--bof Tell a Friend button --> <?php if ($flag_show_product_info_tell_a_friend == 1) { ?> <div id="productTellFriendLink"><?php echo ($flag_show_product_info_tell_a_friend == 1 ? '<a href="' . zen_href_link(FILENAME_TELL_A_FRIEND, 'products_id=' . $_GET['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_TELLAFRIEND, BUTTON_TELLAFRIEND_ALT) . '</a>' : ''); ?></div> <?php } ?> <!--eof Tell a Friend button --> ``` and add the code from above inside the div tag right before the closing div tag (</div>) see if that works.Zen Follower
<!--bof Tell a Friend button --> <?php if ($flag_show_product_info_tell_a_friend == 1) { ?> <div id="productTellFriendLink"><?php echo ($flag_show_product_info_tell_a_friend == 1 ? '<a href="' . zen_href_link(FILENAME_TELL_A_FRIEND, 'products_id=' . $_GET['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_TELLAFRIEND, BUTTON_TELLAFRIEND_ALT) . '</a>' : ''); ?></div> <?php } ?> <!--eof Tell a Friend button --> ``` > and add the code from above inside the div tag right before the closing div tag (</div>) see if that works.dscott1966:
Find this code ```
Ok i got it to align below the tell a friend button but i didnt like it so i moved it to next to the add to cart and tell a friend button on the left. Can you please check to see if it was done correctly and looks fine?
Zen Follower
I have jsut tested in ie, firefox and safari all seem to look fine.
The last thing that i still cant do is changing the side of the report a price heading, atm its huge and i dont know where to change the size.
Zen Follower
gee38l:
I have jsut tested in ie, firefox and safari all seem to look fine.
The last thing that i still cant do is changing the side of the report a price heading, atm its huge and i dont know where to change the size.
it looks good:clap: give me a second on the other question!!
Zen Follower
gee38l:
I have jsut tested in ie, firefox and safari all seem to look fine.
The last thing that i still cant do is changing the side of the report a price heading, atm its huge and i dont know where to change the size.
in your stylesheet on line 3 you need to change the font there. is what is see so far, but the problem is when you change the font it also changes the font for your navigation. so you have to play with the font size there to get it looking right im going to see what you need to add to the style sheet so only that font changers. so hold on.
Zen Follower
dscott1966:
in your stylesheet on line 3 you need to change the font there. is what is see so far, but the problem is when you change the font it also changes the font for your navigation. so you have to play with the font size there to get it looking right im going to see what you need to add to the style sheet so only that font changers. so hold on.
Try adding this to the end of your style sheet and see if this works
h1 {
font-size: 10px;}
Zen Follower
dscott1966:
it looks good:clap: give me a second on the other question!!
Thanks :D
Tell staff why this post should be reviewed.