Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / changing the position of greeting text

changing the position of greeting text

Views: 843

Results 1 to 3 of 3
22 Mar 2012, 5:56 AM
#1
zzahid avatar

zzahid

New Zenner

Join Date:
Mar 2012
Location:
Earth
Posts:
2
Plugin Contributions:
0

changing the position of greeting text

Hi, I want to know that how I can change the position of the greeting text in the main page. Currently I'm working on a website:
http://eyeprinters.com/shop/

I want the greeting text to be positioned above the navigation bar on the right corner. I'm not an expert but I had tried to do something from my own, I had cut the text from tpl_index_default.php and pasted it to the file tpl_header.php, the code is: ```

<?php if (SHOW_CUSTOMER_GREETING == 1) { ?> <h2 class="greeting"><?php echo zen_customer_greeting(); ?></h2> <?php } ?> ```

the problem doing this is that in every page other than the main page it is showing TEXT_GREETING_GUEST where the greeting should be in the main page.

I don't know where am I wrong.

23 Mar 2012, 12:24 AM
#3
zzahid avatar

zzahid

New Zenner

Join Date:
Mar 2012
Location:
Earth
Posts:
2
Plugin Contributions:
0

Re: changing the position of greeting text

http://www.zen-cart.com/forum/showthread.php?t=176244

Hey Rbarbour, thanks a bunch for helping me out. It really works after that.. thanks again.