| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Increase the size of Step 1 of X | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() 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,
__________________
Tim V x-cart 4.0.13 |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() 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.
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() {if $checkout_step eq "1"}
__________________
Dongan MercuryMinds Technologies Professional X-Cart Design, X-Cart Development, X-Cart Customization Services www.mercuryminds.com Follow us at Facebook / Twitter |
|||||||||
#4
|
|||||||||
|
|||||||||
![]() 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.
__________________
Tim V x-cart 4.0.13 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|