Support » Themes and Templates » Editing appearance of archives and individual posts

  • Resolved Skrotfooey


    Hi! I’m using the RenownedMint template

    I’ve embedded the blog into an existing website. Also, I’ve edited my files extensively to remove the sidebar and a bunch of other stuff.

    My problem now is when I click on the archives, or on the title of a post, the page it takes me to does not have the appearance that I’d like, which the front page does have.

    The header and the footer, aren’t the same as the ones on the main page, and while it has the links to the images on the main page (that the blog is embedded in), they’re broken. I’m not sure where to put the images… it’s very confusing!

    Best explained with links:

    What I like:

    What I don’t like:

    Any advice on what to edit to make it work? I’ve tried editing archive.php and archives.php and stuff like that, but it doesn’t work.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Michael


    Forum Moderator

    don’t use relative paths to the stylesheet:
    <link href="../styles.css" rel="stylesheet" type="text/css">

    use something like:
    <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />

    also, i assume you have problem with the relative image paths in the dreamweaver MM_preloadImages code – try to work with absolute image paths.

    Thanks very much for the help, I appreciate it!

    I thought it was due to the links too, but didn’t want to mess about with it all until someone knowledgeable told me so. I made some changes and they worked, except now I’ve run into a weird WEIRD issue:

    When I go to:

    It works


    Gives me the dreaded “Warning: Cannot modify header information – headers already sent by…” error.

    I’ve checked the file for whitespace and eliminated it all, but still get the error.

    This is highly confusing, I’ve only just started dabbling with PHP so I’m reluctant to mess about with stuff I don’t understand…

    Any thoughts on how to solve this?


    p.s. Regarding “use something like:
    <link rel=”stylesheet” type=”text/css” media=”all” href=”<?php bloginfo( ‘stylesheet_url’ ); ?>” />” from your response, what would I substitute for bloginfo in your reply?



    Forum Moderator

    the code was copied from Twenty Eleven;

    instead of:
    <?php bloginfo( 'stylesheet_url' ); ?>
    you could use:
    <?php echo get_stylesheet_uri(); ?>

    Thanks very much! I’ll mark this resolved, since my other issue with the “modify header” stuff is probably best approached on its own, maybe in another forum. I’ll look and see where it would be appropriate.

    I appreciate your help alchymyth, thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Editing appearance of archives and individual posts’ is closed to new replies.