New Page template and new CSS in existing theme
-
Hi all
Forgive what may be a specatularly dumb question, but…
I’m working on a test WordPress installation on my Mac using MAMP.
In my final site I want to use about a dozen different page templates and mildly adjusted CSS for each.
I’ve worked out how to create a new Page template (called page77.php)
I’ve managed to link that template to a new header (called header77.php)
Now I’ve taken the default Theme Css file (style.css) and duplicated it and renamed it to create a new CSS file (77.css).
What I want to do is link that CSS to the new header.
Can I work out how to do it? Can I heck!
Not knowing anything about PHP, I’ve tried replacing the original code:
<link rel=”stylesheet” type=”text/css” href=”<?php bloginfo(‘stylesheet_url’);
With a full local HREF:
<link rel=”stylesheet” type=”text/css” href=”/Applications/MAMP/htdocs/wordpress/wp-content/themes/nuts1/77.css” />
I’ve also tried a short local HREF:
<link rel=”stylesheet” type=”text/css” href=”77.css” />
I’ve also tried various other insanities that I won’t bore you with here!
Any takers?
All help appreciated : )
Hardhat
- The topic ‘New Page template and new CSS in existing theme’ is closed to new replies.