Fergienz Posted May 8, 2006 Posted May 8, 2006 Hey. I have tried looking everywhere for this, but nothing is working. I added my own banner to my site, and called it oscommerce.gif - so i replaced the old banner. ALl is good, but now i want it so its centred - not on the left side. Surely this is a simple task, but i have spent ages trying stuff and searching, all to no luck. U can see it al www.tacball.co.nz i just want the 'tacball' logo into the centre. Cheers
crash3903 Posted May 8, 2006 Posted May 8, 2006 Hey.I have tried looking everywhere for this, but nothing is working. I added my own banner to my site, and called it oscommerce.gif - so i replaced the old banner. ALl is good, but now i want it so its centred - not on the left side. Surely this is a simple task, but i have spent ages trying stuff and searching, all to no luck. U can see it al www.tacball.co.nz i just want the 'tacball' logo into the centre. Cheers The file you need is includes/header.php there is a php tag that calls the image and that is what you need to centre the banner - if you are using dreamweaver then place your cursor to the right and in the properties panel select horizontal align centre. or replace this code <td><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'OS Commerce') . '</a>'; ?> With this <td align="center"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'wine-grapes-glass-banner.gif', 'Wine Suppliers') . '</a>'; ?> Hope that helps Regards Mark Regards Mark A Reynolds
Fergienz Posted May 8, 2006 Author Posted May 8, 2006 thank you. i was spelling center wrong!!! cheers for that
Wendy James Posted May 8, 2006 Posted May 8, 2006 Unless you remove the table cell that holds the three images (on the right at the top) your banner will not truly center. Just thought I should mention that. Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.