Support » Themes and Templates » can template css be mixed between themes

  • I found a nice theme but all that was in the download was the background which i really love. Can I drop those css or php files or whatever into another theme i like that has all the bells and whistles.
    I have to tell you, I am an html know how but i feel like an antiquity now. I just got interested in all this blogging and realised the ethernet has moved quickly and I am left not understanding any of this. So many people blogging, there must be an amazing amount of code literate people out there..sigh

Viewing 5 replies - 1 through 5 (of 5 total)
  • Despite the general belief, the template files in a theme are html-based layout. The PHP template tags just call the different WP functions. See more:

    Another source about how the template files build up a theme can be seen here (if you are a visual type)

    And to answer your question: you can use different files from other themes in a theme or, if you know what are you doing (!), you can implement CSS portions and/or other elements into a theme. I have done many themes where a client had an existing website with a specific layout, and they wanted a WP theme that matches exactly that design.

    And finally, a lot of good articles in the online manual, the Codex.

    Moshu, thank you and I will check out those sites. while I have you here, can you answer something? I went thorugh step by step how to play with the header php. I replaced kubrickheader with personal header (I ftp’d “personalheader into the images file on my server)and i still couldn’t see any changes. Am I supposed to work on the php file in an editor then ftp it or is working in wordpress good. It didn’t specify on the wrodpress directions page..

    I ftp’d “personalheader into the images file on my server
    That’s for sure is a problem! Theme images should be in their theme’s image folder, e.g.

    On a more general note: I always advise every new user to stay away from default. Unless you understand perfectly how WP works it’s a PITA to modify.

    Mark (podz)


    Support Maven

    In header.php, the line that calls for personalheader is commented out – it has /* and */ surrounding it.
    Removing them should do the trick.

    That said, the default theme is not one to learn with. Despite it’s appearence it’s a complex chunk of code that can be tricky to play with. is the place to go I’d say.

    Moshu, I wasn’t clear back there, sorry, I did put the personalheader into the themes images file. thanks anyway.
    Podz, for the heck of it I will try that thing you mentioned and then yes I will stay clear of the default theme.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘can template css be mixed between themes’ is closed to new replies.