Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Header Background overrules Header Image?????


Dyon

Recommended Posts

Posted

Hi y'all,

 

At this point i`m ready to smash my pc out of my window :twisted: My problem is this:

 

i`m working with Dreamweaver. I have put an image in my header by changing the Body in my stylesheet(i have also tried putting an image im my header by changing TR-header) After that i also wanted a background for the area im my header next to the image. But as soon as i set the background bu changing , the background overrules the image.

 

I have tried to do this proces the other way around (first the background, then the image), but whatever i try the background overrulles. Can somebody please tell me how to set aswel a background as an image in the header, without the background overruling...

 

here a copy of my stylsheet:

 

 

/*

$Id: stylesheet.css,v 1.52 2003/02/13 13:54:41 project3000 Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

.boxText { font-family: Verdana, Arial, sans-serif; font-size: 10px; }

.errorBox { font-family : Verdana, Arial, sans-serif; font-size : 10px; background: #ffb3b5; font-weight: bold; ; visibility: hidden; clip: rect( )}

.stockWarning { font-family : Verdana, Arial, sans-serif; font-size : 10px; color: #cc0033; }

.productsNotifications { background: #f2fff7; }

.orderEdit { font-family : Verdana, Arial, sans-serif; font-size : 10px; color: #70d250; text-decoration: underline; }

 

BODY {

background: url(images/eigen_afbeeldingen/cooltext12911937.jpg) no-repeat scroll center top;

color: #000000;

margin: 0px;

}

 

A {

color: #000000;

text-decoration: none;

}

 

A:hover {

color: #AABBDD;

text-decoration: underline;

}

 

FORM {

display: inline;

}

 

TR.header {

;

background-repeat: no-repeat; background-position: left top

; background-attachment: scroll

; background-color: #3333CC

}

 

TR.headerNavigation {

;

}

 

TD.headerNavigation {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

background: #000066;

color: #ffffff;

font-weight : bold;

; border: thick #D1DAFA none

}

 

A.headerNavigation {

color: #FFFFFF;

; border: auto none

}

 

A.headerNavigation:hover {

color: #ffffff;

}

 

TR.headerError {

background: #ff0000;

}

 

TD.headerError {

font-family: Tahoma, Verdana, Arial, sans-serif;

font-size: 12px;

background: #ff0000;

color: #ffffff;

font-weight : bold;

text-align : center;

}

 

TR.headerInfo {

;

}

 

TD.headerInfo {

font-family: Tahoma, Verdana, Arial, sans-serif;

font-size: 12px;

color: #ffffff;

font-weight: bold;

text-align: center;

}

 

TR.footer {

background: #bbc3d3;

}

 

TD.footer {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

background: #000088 url(images/eigen_afbeeldingen/misc_13.jpg);

color: #ffffff;

font-weight: bold;

}

 

.infoBox {

;

border: thin #000088 solid

; cursor: auto; page-break-before: auto; page-break-after: auto

}

 

.infoBoxContents {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

; border: thick #000088 none

; background-color: #D8DEFE

}

 

.infoBoxNotice {

;

}

 

.infoBoxNoticeContents {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

}

 

TD.infoBoxHeading {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

font-weight: bold;

color: #ffffff;

; background-color: #000066

}

 

TD.infoBox, SPAN.infoBox {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

}

 

TR.accountHistory-odd, TR.addressBook-odd, TR.alsoPurchased-odd, TR.payment-odd, TR.productListing-odd, TR.productReviews-odd, TR.upcomingProducts-odd, TR.shippingOptions-odd {

background: #f4f7fd;

}

 

TR.accountHistory-even, TR.addressBook-even, TR.alsoPurchased-even, TR.payment-even, TR.productListing-even, TR.productReviews-even, TR.upcomingProducts-even, TR.shippingOptions-even {

background: #ffffff;

}

 

TR.productListing-heading {

background: #d2e9fb;

}

 

TD.productListing-heading {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

background: #9999FF url(images/eigen_afbeeldingen/misc_13.jpg);

color: #000000;

font-weight: bold;

font-variant: small-caps;

}

 

TD.productListing-data {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

; background-color: #D8DEFE

}

 

A.pageResults {

color: #0000FF;

}

 

A.pageResults:hover {

color: #0000FF;

}

DIV.pageHeading {

font-family: Verdana, Arial, sans-serif;

font-size: 20px;

font-weight: bold;

color: #9a9a9a;

}

 

TR.subBar {

background: #f4f7fd;

}

 

TD.subBar {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

color: #000000;

}

P.main {

font-family: Verdana, Arial, sans-serif;

font-size: 11px;

line-height: 1.5;

}

 

TD.smallText, SPAN.smallText, P.smallText {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

}

 

TD.accountCategory {

font-family: Verdana, Arial, sans-serif;

font-size: 13px;

color: #aabbdd;

}

 

TD.fieldKey {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

font-weight: bold;

}

 

TD.fieldValue {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

}

 

TD.tableHeading {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

font-weight: bold;

}

 

SPAN.newItemInCart {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

color: #ff0000;

}

 

CHECKBOX, INPUT, RADIO, SELECT {

font-family: Verdana, Arial, sans-serif;

font-size: 11px;

}

 

TEXTAREA {

width: 100%;

font-family: Verdana, Arial, sans-serif;

font-size: 11px;

}

 

SPAN.greetUser {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

color: #f0a480;

font-weight: bold;

}

 

TABLE.formArea {

background: #f1f9fe;

; border: 1px #7b9ebd solid

}

 

TD.formAreaTitle {

font-family: Tahoma, Verdana, Arial, sans-serif;

font-size: 12px;

font-weight: bold;

}

 

SPAN.markProductOutOfStock {

font-family: Tahoma, Verdana, Arial, sans-serif;

font-size: 12px;

color: #c76170;

font-weight: bold;

}

 

SPAN.productSpecialPrice {

font-family: Verdana, Arial, sans-serif;

color: #ff0000;

}

 

SPAN.errorText {

font-family: Verdana, Arial, sans-serif;

color: #ff0000;

}

 

.moduleRow { }

.moduleRowOver { cursor: hand; }

.moduleRowSelected { background-color: #E9F4FC; }

 

.checkoutBarFrom, .checkoutBarTo { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #8c8c8c; }

.checkoutBarCurrent { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #000000; }

 

.checkoutBarFrom { }

 

TD.infoBox { }

 

TD.main { }

 

TD.pageHeading { }DIV.pageHeading { }

 

TD.main {

font-family: Verdana, Arial, sans-serif;

font-size: 12px;

line-height: 1.5;

; border: thin #3333CC none

; font-weight: bold

; color: #000000

; text-decoration: blink

}

 

TD.pageHeading {

font-family: Verdana, Arial, sans-serif;

font-size: 20px;

font-weight: bold;

color: #333399;

}

Posted

When you say header image do you mean the logo image ?

If yes just name your logo image oscommerce.gif and load it in catalog/images !

 

HTH

The_Bear

Posted

It is indead my logo, but it is a JPG file, can i change it in OScommerce.jpg? will that work too? BTW thanks for your reply

Posted

in catalog/includes/header.php where it says oscommerce.gif change it to your image.jpg and upload your image il catalog/images

 

HTH

The_Bear

Archived

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

×
×
  • Create New...