Support » Themes and Templates » Customized print.css for custom f2 theme

Customized print.css for custom f2 theme

  • 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!

  • The topic ‘Customized print.css for custom f2 theme’ is closed to new replies.