Support » Themes and Templates » Tanzaku theme: how to hide the grid wrapper in single page?

  • Resolved sved


    Hi everyone,

    I’m pretty new on the forum, to wordpress and the whole html/css … trying to understand things but not able to go deeper than trials and errors here.

    I am using the tanzaku theme (which is great), and would like to hide the grid wrapper when I click on my links to go to single pages. I managed (somehow) to get the single wrapper to reduce only to the actual entry that is on the page , but cannot get rid of this one without impacting the grid on the home page.

    please have a look here to see whaT i mean:

    Really looking forward any answer here…

Viewing 15 replies - 1 through 15 (of 16 total)
  • Michael


    Forum Moderator

    if i understand right, you want to remove the border and white background behind the post?

    try to add something like this at the end of style.css of tanzaku:

    .single .single-item, .single .grid-item { border: none; background:none; }

    Thanks for replying so fast!

    I will try to explain better:

    When I click on one of the entry of my main page, it goes to a single page (full width) article. Below the article, the grid of the home page appears again. I would like it not to show again.

    I understand roughly that there is something to do within the if conditions of the index.php, but cannot figure what.

    Thanks again

    Actually, you may see the problem here :

    At the end of the page, the post is repeated in small, just before the links.

    Well, I found a problem similar to mine… seems it’s possible to call for a category that doesn’t exist, and hide the error message.

    Dirty, but it works…

    Problem “solved”

    hi, i search for the same problem.
    howe you risolved this???


    I modified the following function in index.php :

    [Code moderated as per the Forum Rules. Please use the pastebin]

    I am not really familiar with code so I cannot tell if this way is the proper way, but it seems to work so far ^^

    yeah works! thanks a lot 🙂

    i’am a php noob, and i search for
    long time for a solution like this
    thanks a lot 🙂


    i cannot see the code >___<

    Ahhhhhhhhh… I am having the same hiccup! Would love to see the code or know which function you changed, please!
    Thank you Sved!!

    No it didn’t help. They advise a plugin, which is not the same thing, and too much if it can be changed with the simple code.
    Can someone post the code please?

    Sorry. You dont need the plugin.
    If you read the post again you can solve it by commenting this line in the index.php

    $new_query_arg = ‘paged=’.$paged;

    That piece of code is already in the index file, Litow4, and the grid repeats itself.
    Do you mean to remove it from the index file?

    Yep. Sorry. That’s what I meant by “commenting” it out.

    It’s been a while. I just quickly peeked at my code. It looks like I removed it and that was it. If that doesnt work, let me know and Ill dig a bit more into it for you.
    Having said, it sounds like there are so many combinations of this issue, so… hope it works for you…

    I am very new to building and designing a site, i have found this Theme: Tanzaku.

    However, I would like to remove the borders the theme places around my posts and images.

    My site is

    I have tried several of the methods mentioned above, but to no avail.

    Any help would be much appreciated. Thanks.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Tanzaku theme: how to hide the grid wrapper in single page?’ is closed to new replies.