Guest Posted September 7, 2010 Posted September 7, 2010 Hi I would like to centre the following "Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?" Is anyone able to tell me where and what I would need to do. Many thanks Grandpa
Guest Posted September 7, 2010 Posted September 7, 2010 John, By default, that text is indented. The code can be found in the index.php like so: <tr> <td class="main"><?php echo tep_customer_greeting(); ?></td> </tr> class main is indented by default in the stylesheet.css and can be changed to centered if you want. The stylesheet is currently: TD.main, P.main { font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.5; } Chris
Getting Smarter Slowly Posted October 27, 2010 Posted October 27, 2010 Where is this TEXT located so that it can be modified? You're never too old to learn. Even an old fart like myself loves learn and be creative. ?>if (empty($coffee)) {$coffee=new coffee();}<?
a.forever Posted October 27, 2010 Posted October 27, 2010 Hi I would like to centre the following "Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?" Is anyone able to tell me where and what I would need to do. Many thanks Grandpa Where is this TEXT located so that it can be modified? A better solution would be to just modify the HTML found in the text itself instead of changing it on catalog\index.php, unless you want to create a new CSS class just for that particular line. Find this text in catalog\includes\english\english.php if you're running your site in English and apply proper HTML centering styles appropriately.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.