This is a discussion on How to edit <head> within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I need to add some meta tags, another stylesheet link, more tags to the body tag, etc. Where do I ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I need to add some meta tags, another stylesheet link, more tags to the body tag, etc. Where do I edit that from? Thanks! |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| If you want to edit the head content, just open the page specifically, this is not using a template system, therefore each page has the head information. for example the first page displayed is the default.php, approx line 37 starts the head tag hth |
|
#3
| |||
| |||
| So if I want to, for example, add a background image, I have to add it to every php file? |
|
#4
| |||
| |||
| Unfortunatly thats the way osCommerce is written, there are template programs out there that with some customizing will work, but they have a tendancy to slow osCommerce. Now you can include the background image in the css, and you would not have to change anything except the one css file. |
|
#5
| |||
| |||
| I have tried over and over to get a background image to appear using css- this is the entry: BODY { padding:0; background-position: center; background-image: url('http://sales.hoistwarehouse.com/www/back_drop.gif'); margin: 0px; background-repeat:repeat; background-attachment:fixed } What am I doing wrong? |
|
#6
| |||
| |||
| You CSS is a little difficult to understand. I think what you are trying to accomplish is place a background image in the center of your page. and have it stay there even though the page scrolls. try this: Code: body { background-attachment: fixed; background-image: url(http://sales.hoistwarehouse.com/www/back_drop.gif); background-repeat: no-repeat; background-position: center center}
I visited your site, I think one of your problems, is you have this as the location of your image: http://sales.hoistwarehouse.com/www/back_drop.gif I could not locate the image. I even tried http://sales.hoistwarehouse.com/images/back_drop.gif http://sales.hoistwarehouse.com/back_drop.gif http://www.hoistwarehouse.com/www/back_drop.gif http://www.hoistwarehouse.com/images/back_drop.gif http://www.hoistwarehouse.com/back_drop.gif Make sure the image is loaded to the server Mike |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Edit Orders Bug | davem | osCMax v2 Features Discussion | 0 | 12-30-2006 06:28 PM |
| Edit attributes - Something Something isn't right | Anonymous | osCMax v1.7 Discussion | 4 | 02-08-2005 02:16 PM |
| move title up in code? should be right after <head> | fridgemags | osCMax v1.7 Discussion | 1 | 06-09-2004 11:46 AM |
| Limiting one item per customer - narrowed to actions in head | Anonymous | osCommerce 2.2 Modification Help | 3 | 03-29-2004 12:33 AM |
| Beating head on keyboard missing php | stasha | osCommerce 2.2 Installation Help | 2 | 03-29-2003 06:19 PM |