Title: Archived post template question.
Last modified: August 18, 2016

---

# Archived post template question.

 *  [mangelhaft](https://wordpress.org/support/users/mangelhaft/)
 * (@mangelhaft)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/archived-post-template-question/)
 * When I create a post and it appears on my index.php it formats as it should, 
   however, when its viewed as an archived post (via the permalink) it shows up 
   as unformatted. What file do i have to edit to ensure my archived posts appear
   properly formatted? Or do I have to edit each archived post separately? Please
   tell me its not the latter…thanks.

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/archived-post-template-question/#post-83958)
 * It’s probably the path to the css. Link ?
 *  Thread Starter [mangelhaft](https://wordpress.org/support/users/mangelhaft/)
 * (@mangelhaft)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/archived-post-template-question/#post-83961)
 * mangelhaft.org
    if you could take a look at it and tell me what you think the
   problem is i’d appreciate it. thanks. still a work in progress.
 *  [Root](https://wordpress.org/support/users/root/)
 * (@root)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/archived-post-template-question/#post-83962)
 * Well the CSS does seem a bit er sparse.
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/archived-post-template-question/#post-83963)
 * It’s your path to the css.
    The way WP had it configured on install would work.
 *  Thread Starter [mangelhaft](https://wordpress.org/support/users/mangelhaft/)
 * (@mangelhaft)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/archived-post-template-question/#post-83964)
 * yah the css is sparse but, i am just figuring it all out. testing things here
   and there. but why doesn’t the css carry over to the archived pages?
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/archived-post-template-question/#post-83965)
 * Paths.
    You have the href set to ‘stylesheet’ When looking at it from index.php,
   that’s cool, because index.php and the stylesheet are together. Once you use 
   a permalink, that creates a ‘virtual’ directory structure, and the stylesheet
   does not live in that. Hence you need to instruct the program to always look 
   for the css by using an absolute url, not a relative url.
 *  Thread Starter [mangelhaft](https://wordpress.org/support/users/mangelhaft/)
 * (@mangelhaft)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/archived-post-template-question/#post-83967)
 * what do i exactly need to change?
    <link href=”mangelhaftbeta.css” absolute=”
   stylesheet” type=”text/css”> on the index.php? or do i need to do something else
   in the program? thanks for all your help, sorry about all the questions.
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/archived-post-template-question/#post-83969)
 * This is from the default index.php
    ` <style type="text/css" media="screen"> 
   @import url( <?php echo get_settings('siteurl'); ?>/wp-layout.css ); </style>
   Change the ‘wp-layout.css’ to your stylesheet name.
 *  Thread Starter [mangelhaft](https://wordpress.org/support/users/mangelhaft/)
 * (@mangelhaft)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/archived-post-template-question/#post-83970)
 * Thank you very much … all working out now!
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/archived-post-template-question/#post-83971)
 * Excellent !
 *  [magur0sashimi](https://wordpress.org/support/users/magur0sashimi/)
 * (@magur0sashimi)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/archived-post-template-question/#post-84225)
 * hi I’m having this same problem but it’s not the css that isn’t working — is 
   there a way I can edit the actual template for archived entries? some stuff on
   there I don’t want. thanks

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Archived post template question.’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 11 replies
 * 4 participants
 * Last reply from: [magur0sashimi](https://wordpress.org/support/users/magur0sashimi/)
 * Last activity: [21 years, 9 months ago](https://wordpress.org/support/topic/archived-post-template-question/#post-84225)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
