How to link a custom WP template "page" to a new css file?
I am hoping someone can help me out.
I am just made a new template in WP for some pages I am working on.
Basically I just needed the sidebars removed. It was easy enough to remove them from the code.
But I also needed to widen the content area and center it so it looked normal. That was easy enough too.
So I have a new template page (which is identical to the default WP page.php except for the sidebars being removed) and a new css file.
Here is where I am having trouble. I cannot figure out how to link the new template to the new css.
It just keeps linking to the old one.
Here is the code at the top of the template:
<?php get_header() ?> <div id="content">
I think that is right because as the top of the header file it does in fact link to the defualt css file.
So I am assuming I need to change the header file so that when this new template goes there, it goes to my new css file ...
but I dont know how to do that! I dont know what I am supposed to add so that the rest of the site still displays the default css and so the new template uses my custom one:confused:
I know this must be very simple for you guys lol But I have trouble with the simplest things when it comes to stuff like this!
And instead of spending another 2 1/2 hours tring to figure it out, I thought I would come as you guys!
Any help would be appreciated, even if you could point me in the right direction!
Thanks
Ashley
-
Harrison Ortega -
[ 1 ] Thanks - 1 reply
SignatureNJ web design / NJ Web Designer. MY Wordpress portfolio. 10 years of HTML/CSS - 6 years developing professional Wordpress websites. Currently not available for services.{{ DiscussionBoard.errors[2122150].message }}-
Ashley Gable -
Thanks - 1 reply
{{ DiscussionBoard.errors[2122223].message }}-
Harrison Ortega -
[ 1 ] Thanks - 1 reply
SignatureNJ web design / NJ Web Designer. MY Wordpress portfolio. 10 years of HTML/CSS - 6 years developing professional Wordpress websites. Currently not available for services.{{ DiscussionBoard.errors[2122227].message }}-
Ashley Gable -
Thanks - 1 reply
{{ DiscussionBoard.errors[2122372].message }}-
Harrison Ortega -
[ 1 ] Thanks - 1 reply
SignatureNJ web design / NJ Web Designer. MY Wordpress portfolio. 10 years of HTML/CSS - 6 years developing professional Wordpress websites. Currently not available for services.{{ DiscussionBoard.errors[2122389].message }}-
Harrison Ortega -
[ 1 ] Thanks - 1 reply
SignatureNJ web design / NJ Web Designer. MY Wordpress portfolio. 10 years of HTML/CSS - 6 years developing professional Wordpress websites. Currently not available for services.{{ DiscussionBoard.errors[2122493].message }}-
Ashley Gable -
Thanks - 1 reply
{{ DiscussionBoard.errors[2122516].message }}-
Ashley Gable -
Thanks - 1 reply
{{ DiscussionBoard.errors[2122662].message }}-
Harrison Ortega -
Thanks - 1 reply
SignatureNJ web design / NJ Web Designer. MY Wordpress portfolio. 10 years of HTML/CSS - 6 years developing professional Wordpress websites. Currently not available for services.{{ DiscussionBoard.errors[2122700].message }}-
Ashley Gable -
Thanks
{{ DiscussionBoard.errors[2122724].message }} -
-
-
-
-
-
-
-
-
-
-
Ashley Gable -
Thanks
{{ DiscussionBoard.errors[2122712].message }} -
-
Ashley Gable -
Thanks
{{ DiscussionBoard.errors[2122735].message }} -
-
Harrison Ortega -
[ 1 ] Thanks - 1 reply
SignatureNJ web design / NJ Web Designer. MY Wordpress portfolio. 10 years of HTML/CSS - 6 years developing professional Wordpress websites. Currently not available for services.{{ DiscussionBoard.errors[2122753].message }}-
Ashley Gable -
Thanks - 1 reply
{{ DiscussionBoard.errors[2122761].message }}-
Harrison Ortega -
[ 1 ] Thanks - 1 reply
SignatureNJ web design / NJ Web Designer. MY Wordpress portfolio. 10 years of HTML/CSS - 6 years developing professional Wordpress websites. Currently not available for services.{{ DiscussionBoard.errors[2122789].message }}-
Ashley Gable -
Thanks
{{ DiscussionBoard.errors[2125267].message }} -
-
-
-