Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter lbitv

    (@lbitv)

    I am able to create the template file with no problem & have the other pages using it. It’s the formatting of it that I’m having trouble with. miklb, I commented it out while experimenting with alternate ways of loading the stylesheet. When it is active it gives the default style.css, even though I’ve put a call for it in the header (recommended by Undersigned).

    <?php if(is_page()& $post->post_parent = ’14’) { ?> <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_directory’); ?>/style-sponsors.css/” type=”text/css” media=”screen” /> <?php } else { ?> <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” /> <?php } ?>

    I’ve also cleared out my cache to make sure that wasn’t preventing the above code from working, but it still doesn’t seem to be, it still pulls the original style sheet (style.css) & not style-sponsors.css.

    I’m also having problems with floating the copy block, but I assume that’s because the main container is fixing the witdh, I hope to change this with the new stylesheet.
    Thanks again in advance for further comments & help

Viewing 1 replies (of 1 total)