• After 2 days of research, I have come across many helpful tutorials but am still not able to get this to work.

    I need to use an alternate stylesheet on my site for one specific page and am using the following code in my header.php file. Is there something I have overlooked?

    <?php if ( is_page('list-building-via-content-spinning') ) { ?>
    <link rel="alternate stylesheet" href="http://www.gwmo.com/wp/wp-content/themes/gwmo/home.css" type="text/css" media="screen" />
    <?php } ?>
Viewing 1 replies (of 1 total)
  • Hi,

    thanks for your question, and sorry for the trouble.

    Instead of loading an extra file like that, just use the extra class based selector that your theme offers (as a CSS class on the <body> element).
    Thus, just add

    .page-id-402 #content .clearfix {
        background: none;
    }

    to the “style.css” of your theme.

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Alternate Stylesheet in Graphene Theme for Tablepress’ is closed to new replies.