Forums

problem after swapping wp-blog-header.php (1 post)

  1. Roar
    Member
    Posted 7 years ago #

    Hi,

    I swapped that file as indicated to eliminate the rss2.php feed problem.

    Now, it has broken the bit in the Kubrick theme that tells it to check if the page needs a sidebar or not, and depending on that, it will call one of two backgrounds.

    Any ideas?

    'body { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgcolor.jpg"); } <?php /* Checks to see whether it needs a sidebar or not */ if ((! $withcomments) && (! is_single()) && (! is_page())) { ?>
    #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg.jpg") repeat-y top; border: none; } <?php } else { // No sidebar ?>
    #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; } <?php } ?>
    #header { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickheader.jpg") no-repeat bottom center; }
    #footer { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickfooter.jpg") no-repeat bottom; border: none;}'

    That is the Kubrick code that is messed...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.