This is a discussion on Add a Header background image within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hey Almost every time I Google an answer to a question I have about osCommerce, oscmax is in the results ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hey Almost every time I Google an answer to a question I have about osCommerce, oscmax is in the results so I thought I'd join and participate directly. I know the header color can be changed from the installed white. I have a background image for the page and I want to put the same image in the header. ![]() I have seem multiple posts about this, but never a solution. Can it be done? If so, how? While I'm on the topic, I would also love to add the same background image to two places. The first is the "New Products For <month>" section and the second it the "Let's See What We Have Here" area when a category is clicked on. With these changes, the background of the entire page, regardless of the area, should be seamless as the one background image. Thanks!!!!! Paul |
|
#2
| |||
| |||
| The header is in a table. Apply the background image to the table. see... Tryit Editor v1.4 for how to do it.
__________________ so endith the lesson<think>sometimes I just sit's and thinks</think> "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB |
|
#3
| ||||
| ||||
| Quote:
So, if I understand, you want the header to use that gray background image? All you need to do is edit the stylesheet, and specify a background image. I believe the style you are looking for is: TR.header :: Controls the background color of the header cell.
__________________ Michael Sasek osCMax Developer osCMax Templates - Hundreds of premium quality templates. New designs every month! xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. |
|
#4
| |||
| |||
| Thanks to both of you. Quote:
BODY { Quote:
background="GREY5.jpg"Both are great suggestions, but I don't have enough info to implement either... |
|
#5
| |||
| |||
| Quote:
Quote:
BODY { background: white; color: black; margin: 0px; } I changed it to this and it does not work: BODY { background: white; color: black; margin: 0px; background-image: url('images/GREY5.jpg'); background-repeat: repeat; background-position: center; } |
|
#6
| ||||
| ||||
| As per my first reply, you need to specify the background image in the TR.header of the stylesheet, not the BODY section. It would look like this: TR.header { background-image: url('images/GREY5.jpg'); } Then just make sure that the style is also actually added to the <tr> tag of the cell.
__________________ Michael Sasek osCMax Developer osCMax Templates - Hundreds of premium quality templates. New designs every month! xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. |
|
#7
| |||
| |||
| Quote:
All I need now is to do the same for the "New Products For <month>" section and the second it the "Let's See What We Have Here" area when a category is clicked on. Then that part of the formatting will be complete! |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| infobox header background image | michael_s | New osCommerce Contributions | 0 | 08-24-2007 11:14 PM |
| Changing Background Color of Header | knowgangs | osCMax v1.7 Discussion | 2 | 07-12-2005 11:32 AM |
| Background Image | Studio143 | osCMax v1.7 Discussion | 5 | 01-02-2005 05:26 PM |
| How to add image navigation bar in header. | Astro | osCommerce 2.2 Modification Help | 0 | 10-06-2004 12:56 AM |
| Added then lost my header background image! How | acrylictribesmen | osCommerce 2.2 Modification Help | 2 | 07-03-2004 08:02 AM |