Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need a little help


bozamic

Recommended Posts

The header logo codes are in catalog/includes/header.php and are controlled by a table and cell structure so this is straight forward html alignment

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

That is what I thought too, but I am using a template and it appears to be set up a little differently because I can't get the logo to do anything but swing all the way to the right which is not what I want.

 

Here is the code that controls the logo:

   <tr>
   <td id="pageHeaderLT" colspan="3">
  <div class="logoLT"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'kailynngifts_translogo.gif', 'KaiLynn Gifts') . '</a>'; ?></div>
   </td>
 </tr>

 

Can someone point out what I need to do? I know I'll kick myself when I get it. But it just isn't clicking for me right now.

 

Thanks

Link to comment
Share on other sites

Erase:

<?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'kailynngifts_translogo.gif', 'KaiLynn Gifts') . '</a>

 

Replace with:

<?php echo "<a href=\"Some filename\"><img src=\"(http://your site)/images/kailynngifts_translogo.gif\" alt=\"Logo\" align="center"></a>";

?>

Link to comment
Share on other sites

In your stylesheet.css file,

 

Replace

TR.header {
?background: #ffffff;
}

 

With

TR.header {
 background: #ffffff;
 text-align: center;
}

 

:D

Link to comment
Share on other sites

No, don't do that. It will only align yor text with the middle of the image.

 

Change this code

<div class="logoLT"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'kailynngifts_translogo.gif', 'KaiLynn Gifts') . '</a>'; ?></div>

 

to this

 

<div class="logoLT"><center><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'kailynngifts_translogo.gif', 'KaiLynn Gifts') . '</a>'; ?></center></div>

 

Hope this works for you.

 

Vger

 

In your stylesheet.css file,

 

Replace

TR.header {
?background: #ffffff;
}

 

With

TR.header {
?background: #ffffff;
?text-align: center;
}

 

:D

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...