Results 1 to 5 of 5

Thread: Templates/Style Question

  1. #1
    Join Date
    Jun 2003
    Posts
    14

    Default Templates/Style Question

    I am customizing my site now and am having a bit o a problem. I modiied the embedded style sheet in the header.html however it is not taking the body style I specified - specifically I am trying to set a background image with a no-repeat fixed left. All the other changes I have made have worked well except this. Is there somewhere else I need to make changes to support the body style. Even better can I just create a style.css and reference it instead of using and embedded style sheet.

  2. #2
    Join Date
    Sep 2001
    Posts
    170

    Default

    Hi Shalida

    Not to sure about the first part of your question, but you can (and should) set up a "style.css"

    Regards

  3. #3
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default Re: Templates/Style Question

    for the background use something like

    Code:
    body {
     background-image: url(http://www.yoursite.com/picture.gif); 
     background-repeat: no-repeat;
    }
    for the linked style sheet use something like

    Code:
    <link href="your_file_name.css" type=text/css rel=stylesheet>
    
    or
    
    <link href="url_to/your_file_name.css" type=text/css rel=stylesheet>
    and place it just before </head>

    I removed the <style>...etc...</style> from the header.html and placed it in a css file
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  4. #4
    Join Date
    Apr 2002
    Posts
    351

    Default

    Another thing you have to do is to remove the internal css code which is embedded in app. 10 pages in the Indexu template pack.

    Otherwise, the embedded css code will be used to generate the font style (of your web page) etc instead of using your external css file, when determining the style of web page in question.

    That's one of the reason why my commercial template pack took so long to get ready. I had to go through every single file that had the embedded css code and replace it with my css tag so that it could be controlled by an external css file instead.

    Good luck

  5. #5
    Join Date
    Jun 2003
    Posts
    14

    Default

    Well the problem ended up being that my background image didn't load correctly and thus would not display. I had the style code right but not the image. Ugh...Ah the joys of a bad internet connection last night.

    Veg: Yeah, I decided to go with the external stylesheet last night. Considering I am modifying the overall layout it just makes sense to do it that way....especially since I will be in each of the html files anyway.

Similar Threads

  1. Pre Sales question about Double byte languages
    By Olney in forum Pre-Sales Questions
    Replies: 1
    Last Post: 07-04-2004, 12:23 AM
  2. Replies: 1
    Last Post: 03-11-2004, 04:59 PM
  3. Sponsored links question.
    By lewisw in forum v3.2
    Replies: 6
    Last Post: 08-18-2003, 07:16 PM
  4. Conversion\Distribution question
    By jmc in forum Pre-Sales Questions
    Replies: 3
    Last Post: 02-26-2003, 02:00 AM
  5. Replies: 4
    Last Post: 09-18-2002, 11:17 AM

Posting Permissions

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