jennki Posted December 15, 2005 Posted December 15, 2005 Hi, I'm editing the header and would like to put my store logo at the middle of the header and preset a background image for the left and right of the excess header while resizing the browser anytime. Anyone can tell me how can I do this? I've tried to do the editing in header.php by typing background="image.gif" into the html of the header.php, but it didn't work. In the documentation, there is an information regarding to "Add Background Color", by putting this code (mentioned in the documentation) in the default.php page and each page under /catalog/ with the color you want. BUT what is mean by the "default.php" page and each page under /catalog/? Where should I do the editing and how, pls. advise and thanks in advance.
Guest Posted December 15, 2005 Posted December 15, 2005 Jennie, Have you tried using a visual tool for editing the html of the header.php? I did what you are talking about just yesterday by opening the header.php file in Dreamweaver and adding a new table above the top most table of the existing file. Then inserted my jpeg image and set the background of the new table to black. I've been doing this for all of my OSscommerce sites lately. Give that a try and good luck!
ryanm527 Posted December 15, 2005 Posted December 15, 2005 If I understand what you are wanting.... you should be able to get rid of the oscommerce image code in includes/header.php and replace it with a 100% width table with the background set to the image of your choice. Then within the table, center your logo image. And yes, you can definitely use a visual editor, such as dreamweaver to create the code for the table!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.