Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

header and footer


bigcol

Recommended Posts

Can someone please help, I want to remove the three iconson the default header, and alter the default footer to that itis all black.

 

Which files do I need to adjust or can someone post them please with the adjustments

Link to comment
Share on other sites

Can someone please help, I want to remove the three iconson the default header, and alter the default footer to that itis all black.

 

Which files do I need to adjust  or can someone post them please with the adjustments

 

 

A couple of hints that will help you. The files you want to modify are:

catalog/includes/header.php

catalog/includes/footer.php

 

To find the pictures and change the colors that depends on if you can read html and understand style sheets.

 

If you do not understand html, you will probably have to have someone do this for you.

 

If you do, here is what you want to look for:

The header and footer are placed in tables to format them, meaning the html tags

<table> and <tr> and <td>, by default the background color or picture of any table will be the background color or picture of the <body> tag for the document. The default of the body tag if it is not specified is white "#ffffff".

 

So, basically to change those colors you have to establish a background color for the table. I ended up giving the table a class element and defining that element in the stylesheet.css.

 

A class element takes the form of <table class="variable_name" width="blah blah"

variable_name can equal anything, meanwhile in the stylesheet.css all of those in there are already classes so you should be able to figure out how they work by looking at them.

 

The pictures in the table will be found with a Dir_WS_IMAGES before them, and to get rid of the images just comment out this code.

 

Any more questions... or do you need any clarifications

Link to comment
Share on other sites

Thanks, need leading by the hand...html is ok, but css blah...

 

A couple of hints that will help you. The files you want to modify are:

catalog/includes/header.php

catalog/includes/footer.php

 

To find the pictures and change the colors that depends on if you can read html and understand style sheets.

 

If you do not understand html, you will probably have to have someone do this for you.

 

If you do, here is what you want to look for:

The header and footer are placed in tables to format them, meaning the html tags

<table> and <tr> and <td>, by default the background color or picture of any table will be the background color or picture of the <body> tag for the document. The default of the body tag if it is not specified is white "#ffffff".

 

So, basically to change those colors you have to establish a background color for the table. I ended up giving the table a class element and defining that element in the stylesheet.css.

 

A class element takes the form of    <table class="variable_name" width="blah blah"

variable_name can equal anything, meanwhile in the stylesheet.css all of those in there are already classes so you should be able to figure out how they work by looking at them.

 

The pictures in the table will be found with a Dir_WS_IMAGES before them, and to get rid of the images just comment out this code.

 

Any more questions... or do you need any clarifications

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...