Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

background colour


pexa

Recommended Posts

This might sound like a pretty stupid question

but i am trying to change the background colour on my commerce site, i want the colour to at least be changed on the header

i have tried adding <bgcolor="#006599"> in a few areas on the header.php but it just doesnt seem to change it, i have a image algined in the middle of the header and i want the background colour to match that, I've tried adding that command inside and outside the tables.

Also when i add that command to the main index.php the whole page fails.

So if anyone could help me that would be great

Thanks

Link to comment
Share on other sites

Try this.

 

In header.php find this code:

 

  if ($messageStack->size('header') > 0) {
echo $messageStack->output('header');
 }
?>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr class="header">

Change the last two lines to:

 

<table bgcolor="#006599" border="0" cellpadding="0" cellspacing="0" width="100%">
 <tr>

Probably should make a backup before editing...

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...