WordPress.org

Ready to get started?Download WordPress

Forums

Customized print.css for custom f2 theme (1 post)

  1. mgreis
    Member
    Posted 2 years ago #

    I've created a custom version of the f2 theme using theme inheritance using the instructions provided by Srini, the author of the f2 theme.

    I'd like to use a customized print.css file in this custom theme. Creating a print.css file in the custom theme directory doesn't work. The child theme has a custom style.css which @imports the parent's style.css. The parent's print.css is being loaded and recognized, because a making a change there does change the print format.

    The theme's header.php uses the following code to link its stylesheets:

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/print.css" type="text/css" media="print" />

    Can anyone help with this? Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.