![]() |
Increase the size of Step 1 of X
I want to increase the size of the text "Step 1 of 3" during checkout process.
For starters I created a new style called DialogTitleCheckout and assigned my new text parameters. If I'm following the process correctly the dialog.tpl needs to be modified. I started with the code near the top and I am guessing the code needs to follow something like this; {*** Make Title Bigger on Checkout ***} {if mode=checkout} <TD class="DialogTitleCheckout" background="{$ImagesDir}/custom/dialog_bg.gif" height="19" nowrap>{$title} [img]{$ImagesDir}/spacer.gif[/img]</TD> {else} {*** Original Code ***} <TD class="DialogTitle" background="{$ImagesDir}/custom/dialog_bg.gif" height="19" nowrap>{$title} [img]{$ImagesDir}/spacer.gif[/img]</TD> {/if} This is where I'm stuck. Can anyone help me with the correct IF statement? or offer some suggestions or alternatives. Thanks, |
Another approach would be to make another dialog.tpl file, eg, dialog_checkout.tpl.
Then make your new style, by renaming the style in there and setting up the style in the css. Then from your checkout templates, call the new dialog template. |
{if $checkout_step eq "1"}
|
Thanks Paul, that seems to be a more flexible way to approach this problem. In case anyone else was curious, I did get the IF statement to work by using the following;
{if $smarty.get.mode eq "checkout"} [my code] {else} [original code] {/if} This also allows for all the checkout steps to use my CSS statement. |
All times are GMT -8. The time now is 09:21 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.