CSS Template Question

Discussion in 'CSS' started by bestpr, Oct 22, 2007.

  1. #1
    Hi,

    Can someone tell me:

    Is CSS Website Template hard to edit. If I dont know any programming?

    How do I go about editing a CSS Website Template?

    Thanks for any info.
     
    bestpr, Oct 22, 2007 IP
  2. KatieK

    KatieK Active Member

    Messages:
    116
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    58
    #2
    I would say that editing CSS is pretty easy, if all you need to do is make simple changes. If you need to change the text color to red, you can do this:

    body { color: RED; }
    Code (markup):
    But if you need to do complex things, like add a new navigation menu, it's going to be complex. It will depend much more on your experience with CSS, rather than your general programming abilities.
     
    KatieK, Oct 22, 2007 IP
  3. bestpr

    bestpr Banned

    Messages:
    860
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks KatieK. I will try to download a template and ask you questions if I have any, Do you mind? or do you have yahoo chat id?
     
    bestpr, Oct 22, 2007 IP
  4. KatieK

    KatieK Active Member

    Messages:
    116
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    58
    #4
    I don't mind questions here on the forum. And if I don't know the answers, surely someone else will.
     
    KatieK, Oct 22, 2007 IP
  5. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #5
    CSS isn't a programming language so there isn't any programming involved.

    Unfortunately though, a lot of the "CSS templates" are of such low quality that editing them is a pain in the neck. CSS though does work with HTML, which you will have to have some experience in if you want to use it properly.

    Here's what I consider to be a good baseline for a CSS template. All the sections are separated (as in not related to each other).

    Header
    Menu(s)
    Content
    Sidebar(s)
    Footer

    The header will be an image wrapped inside a DIV with an ID of "header" whle the menu(s) will be an unordered list (or more) with appropriate IDs to identify what they are - if there's just one menu, I'll use the ID value "menu" to identify it. The content is just that - a DIV with an ID of "content". I'll also stick a DIV directly inside this as a wrapper for all the content inside (it's really more of a CSS hook than anything), and give that a class of - you guessed it, "wrapper". Then I'll mark up my sidebars, for example if one sidebar contains extra information, I'll give that an ID fo "sidebar". If the other one is an ad block, I'll use something appropriate, like "advertisements" for the ID. Finally, I'll have a DIV for the footer (if you can't figure out what ID I'd use, it's "footer").

    In that order.

    Then from there I'll style it to look like pretty much anything I want. This format can't always be followed, especially with extremely graphics-intensive layouts, but it is pretty solid and reliable for the most part.
     
    Dan Schulz, Oct 22, 2007 IP
  6. longhornfreak

    longhornfreak Well-Known Member

    Messages:
    2,067
    Likes Received:
    95
    Best Answers:
    0
    Trophy Points:
    140
    #6
    it depends on where you get it from, some people use php includes which make it easy to edit, some don't, but its still easy to figure out.
     
    longhornfreak, Oct 22, 2007 IP
  7. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #7
    The CSS templates themselves though will just be HTML and CSS files, along with images and a source .psd file (well, the ones that are given away or sold anyway).
     
    Dan Schulz, Oct 22, 2007 IP