Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Alligning header text.


Recommended Posts

I want to allign the top text in the middle, but cant seem to alter the code correctl..


define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?');


Also how do you get rid of the large WELCOME TO COMPANYNAME bit?


thanks guys,



Link to comment
Share on other sites

  • 5 months later...

to change the alignment you will need to open your index.php file in an editer or notepad and then look for the code

<td class="main"><?php echo tep_customer_greeting(); ?></td>

and change it to

<td class="main" align="center"><?php echo tep_customer_greeting(); ?></td>


the third <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> is the one that says welcome to company name it is right above the code for the greeting, you can stop it from showing up by changing it to

<td class="pageHeading"><?php // echo HEADING_TITLE; ?></td>


or you can change what it says by editing your catalog/includes/languages/english/index.php file, or whichever language you are using.

Wendy James


Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...