Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

How to center "What's New Here?"


Recommended Posts

Hi everyone,


I would like to change the heading title in Oscommerce, which I know how to do that but I need help to center the text. Could someone please help me with centering the title.


Thank you!


William :)


The code that defines that is around line 289 and looks like this:


		<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
		<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>


You could align=center the first cell in that row. However as you can see there is also the cell that contains the image, so even centered it might still be a little off center. To have a true center you would have to remove the image and its cell, which you may or may not wish to do. Might just have to play with it some. As well as several other places in the page you would likely want to make the same type of adjustments.


Be well,


If you're not having fun you're not doing it right


Teach a person to fish rather than give them a loaf of bread or however that saying goes.

Link to comment
Share on other sites


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

  • Create New...