Differnet Styles for Differnet Templates

Discussion in 'WordPress' started by JamesMichael Solutions, Aug 26, 2009.

  1. #1
    How can I designate a style for separate templates within a Word Press template?

    Search.php = search.css

    Category.php = category.css

    etc.. etc..


    Perhaps an if then statement for Word Press that would work like this:

    If /pages 1 then page1.css

    If /page 2 then page2.css

    ?

    Thanks
     
    JamesMichael Solutions, Aug 26, 2009 IP
  2. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #2
    There is a Wp theme changer plug in that gives users the option to pick different themes. there are also themes where it is a function of the theme to change colors...but something tells me that you want each page to be a different layout.

    First of all, you can code a page anyway you wish with or without sidebars and add just about anything you want in it, even php.
    If you want to use a different .css layout for each page, you need to make different page.php files...scratch that....I don't know how you would do that and still retain the blogs functionality.

    From the looks of your questions, it looks like maybe you need to design a site from scratch using HTML, instead of trying to make Wordpress behave differently than it is design to....that would so much easier than tearing apart it's functions and recoding everything.
     
    hmansfield, Aug 26, 2009 IP