Viewing 7 replies - 1 through 7 (of 7 total)
  • I THINK that the code that calls in the sidebar in kubrick is actually in the header.php file if I remember correctly… if you want to put that up at pastebin, I can show you what to remove.

    Thread Starter Sridhar Katakam

    (@srikat)

    Thanks for the reply. Here is the header.php: https://pastebin.com/696985

    Just to be clear, I don’t want the sidebar to appear in archive view and page view but it should be visible in rest of the cases (i.e., the blog view, single view etc.).

    #
    <?php /* Checks to see whether it needs a sidebar or not */ if ((! $withcomments) && (! is_single())) { ?>
    #
    #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 } ?>

    okay, there’s the code that needs to be modified… HOW exactly is beyond me (i stay away from Kubrick for a reason!) but hopefully someone else can come in here and let you know…

    The above code will do nothing.
    Modifying it will do nothing.

    Kubrick cannot be as easily modified as you wish.

    blog view / single view = sidebar
    archive view / page view = no sidebar AND wider page.

    You haven’t picked the easiest theme to pick apart and you need to understand how Kubrick is constructed.
    You would need a lot more code, more images. I’m sure it can be done but it is no way as simple as jiggling a bit of code in the sidebar.

    lol told ya it was beyond me!
    sorry for the wrong info… i tried.

    Thread Starter Sridhar Katakam

    (@srikat)

    actually, lady helped me solve the issue!

    I have it now like this:

    <?php /* Checks to see whether it needs a sidebar or not */ if ((! $withcomments) && (! is_single()) && (! is_page()) && (! is_archive()) && (! is_404())) { ?>

    Now the sidebar doesn’t appear on single posts, pages, archives and error pages.

    Thank you.

    Podz is right..this theme is a pain in the arse to modify. It’s an “image based” theme basically. I have already messed with this theme enough times to know lol.

    I have even when to the limit of removing the top and bottom “side wall” images. And just have the two left and right ones lol. That was ALOT of adjusting of the CSS codes in the header.php file..to just get it working right.

    And like Podz said, it would or could be done, but will be a pain in the arse, and would be just as easy to get another theme to tinker with. =) I was going to make up a version without any “sidewall” images eventually, but I’m in no rush for it lol.

    I also have that theme with the 1px header and footer shift fix..and a couple other fixes listed in the post there, with a downloadable zip as well.

    I also have that version of the no top and bottom gap one there, just have to re-add the “theme switcher” for ppl to see it then.

    https://www.vindictivebastard.net/kubrickfixed/

    If you can handle a bit of a wait, I’ll try and do up a version without the “sidewall” version lol.

    spencerp

    I put that no top and bottom gap one up now for a quicky demo lol.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Kubrick theme modifications’ is closed to new replies.