Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to center "What's New Here?"


exoticnovelty

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:

 

<tr>
		<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>
	  </tr>

 

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,

Tina

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

Archived

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

×
×
  • Create New...