Support » Fixing WordPress » Posts have sidebar but not using kubrickbg-ltr.jpg

  • My Index and Pages use kubrickbg-ltr.jpg as the background, which is what I want, but for some reason Posts use kubrickbgwide.jpg instead. (I’ve modified kubrickbg-ltr.jpg so it’s different from kubrickbgwide.jpg. And I’ve added a sidebar to single.php, so that’s why I want kubrickbg-ltr.jpg to be used and not kubrickbgwide.jpg.)

    Originally they all used kubrickbgwide.jpg due to a bug in header.php, so I’ve changed:

    if ( !empty($withcomments) && !is_single() ) {


    if ( !$withcomments && !is_single() ) {

    and now kubrickbg-ltr.jpg gets used, except on Posts. Any idea why? How do I make Posts use kubrickbg-ltr.jpg?

    (And the reason I don’t just modify kubrickbgwide.jpg is I plan on having widecolumn pages without sidebars later.)

    My site:

    Thanks in advance.

Viewing 1 replies (of 1 total)
  • Let me simplify the question. How does the default Kubrick theme determine whether to use kubrickbgwide.jpg or kubrickbg-ltr.jpg on a page?

Viewing 1 replies (of 1 total)
  • The topic ‘Posts have sidebar but not using kubrickbg-ltr.jpg’ is closed to new replies.