Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 6 of 6

Thread: How to edit <head>

  1. #1
    pgowder
    Guest


    Default How to edit <head>

    I need to add some meta tags, another stylesheet link, more tags to the body tag, etc.

    Where do I edit that from?

    Thanks!

  2. #2
    |3ackdraft
    Guest


    Default

    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. #3
    Anonymous
    Guest


    Default

    So if I want to, for example, add a background image, I have to add it to every php file?

  4. #4
    |3ackdraft
    Guest


    Default

    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. #5
    LukeMilton
    Guest


    Default CSS sheet only works for colors... ?

    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. #6
    |3ackdraft
    Guest


    Default

    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 &#123;  background-attachment&#58; fixed; background-image&#58;  url&#40;http&#58;//sales.hoistwarehouse.com/www/back_drop.gif&#41;; background-repeat&#58; no-repeat; background-position&#58; center center&#125;
    if this is not your goal, please tell me what it is you are trying to accomplish

    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

Similar Threads

  1. Edit Orders Bug
    By davem in forum osCMax v2 Features Discussion
    Replies: 0
    Last Post: 12-30-2006, 07:28 PM
  2. Edit attributes - Something Something isn't right
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 4
    Last Post: 02-08-2005, 03:16 PM
  3. move title up in code? should be right after <head>
    By fridgemags in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 06-09-2004, 11:46 AM
  4. Limiting one item per customer - narrowed to actions in head
    By Anonymous in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 03-29-2004, 01:33 AM
  5. Beating head on keyboard missing php
    By stasha in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 03-29-2003, 07:19 PM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •