Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Top Banner


phoebe

Recommended Posts

Posted

Can someone please let me know how to centre my logo in the header file. I have changed it from the default image to my one but it is on the top left hand side. I would like it in the centre.

 

I would also like to get rid of the 3 cartoon images on the top right hand side. I can see them in the code but dont want to remove more than I need to.

 

Also if you could help me know which file i need to modify to change the name at the top of the webpage from oscommerce - Microsoft Internet Explorer. I would like it to say MY BUSINESS - Microsoft Internet Explorer.

 

Thanks in advance...

Posted

Worked out how to remove the cartoon pics at the top right. Now just need to centre my company logo at the top.

 

Any help??

Posted

Worked out how to change name at the top as well... so still stuck on the logo to the center...

 

Thanks in advance for your help

Posted

<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr class="header">
   <td align="center" valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>
 </tr>
</table>

 

This gets rid of the 3 images on the side and centers the banner. It still has the oscommerce image and name but you can change that to your own. :)

Wendy James

 

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

Posted
<table border="0" width="100%" cellspacing="0" cellpadding="0">
?<tr class="header">
? ?<td align="center" valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>
?</tr>
</table>

 

This gets rid of the 3 images on the side and centers the banner. It still has the oscommerce image and name but you can change that to your own. :)

 

Hi Wendy

 

When I do that it does move the logo to the middle but you lose the heading line under it which has Top -> Catalog at the left and at the right My Account -> Cart Contents -> Checkout.

 

Is there any reason this happens?

 

Regards

 

Adam

Posted

Because this code was only the table for the image. Not the tables under it that hold those text links and breadcrumb.

Wendy James

 

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

Posted

I am having a similar problem so I thought here would be a suitable place to ask my three questions:

 

1) I have moved my header to the right, but it goes only to the middle of the page. I would like my logo to sit at the top far right to match the rest of my website.

 

2) I would also like to put a link before the 'my account' link called 'home' that links back to my website.

 

3) I have changed the colours of my boxes and I have found that there are still blue curved squares from the standard colour which I cannot figure out how to remove.

 

If somebody could point me in the right direction I would be very appreciative.

store address is: www.rikens.com.au/store

 

Thanks

riken

Posted

1. You probably still have a table cell on the right hand side of the first table where your header image is. Thats why it is not going all the way over.

2. add

<?<a href="<?php echo tep_href_link(index.php); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>  | 

before

<?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?>

3. The corners are images found in catalog/images/infobox

 

:)

Wendy James

 

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

Posted
2. add
<?<a href="<?php echo tep_href_link(index.php); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>  | 

before

<?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?>

 

:)

 

Hi Wendy,

Thanks for answering, I tried the code for number 2 but it just turned up a parse error and my whole page dissapeared. So I took it out again! >_<

I was hoping for the menu on the right above the shopping cart box to look identical to this:

| Home | My Account | Cart Contents | Checkout |

 

and the 'home' link to have the url www.rikens.com.au

 

I appreciate your time

Rikens

Posted

Me again,

I am just about to have a nervous breakdown......

I changed my little squares (images found in catalog/images/infobox) but the one called left_right is not cooperating. When it shows in my store (www.rikens.com.au/store) it seems to have a border around it but the image actually has no border. The ones with the curved edges turned out fine and I did them all at the same time in the same way.....

Pleeeeeese help me before I go insane. :huh:

Archived

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

×
×
  • Create New...