Ready to get started?Download WordPress


[resolved] Tanzaku theme: how to hide the grid wrapper in single page? (17 posts)

  1. sved
    Posted 4 years ago #

    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: blog.luidstudio.com

    Really looking forward any answer here...

  2. 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; }

  3. sved
    Posted 4 years ago #

    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

  4. sved
    Posted 4 years ago #

    Actually, you may see the problem here : http://blog.luidstudio.com/2011/01/numpad-calculator/#more-1

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

  5. sved
    Posted 4 years ago #

    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"

  6. pongs
    Posted 4 years ago #

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

  7. sved
    Posted 4 years ago #


    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 ^^

  8. pongs
    Posted 4 years ago #

    yeah works! thanks a lot :)

    i'am a php noob, and i search for
    long time for a solution like this
    thanks a lot :)


  9. rosly
    Posted 4 years ago #

    i cannot see the code >___<

  10. Litow4
    Posted 4 years ago #

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

  11. Litow4
    Posted 4 years ago #

  12. dotpress
    Posted 3 years ago #

    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?

  13. Litow4
    Posted 3 years ago #

    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;

  14. dotpress
    Posted 3 years ago #

    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?

  15. Litow4
    Posted 3 years ago #

    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...

  16. store
    Posted 3 years ago #

    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 ahumanartstore.com

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

    Any help would be much appreciated. Thanks.

  17. Litow4
    Posted 3 years ago #

    You may want to edit the style.css to control the look of cells.
    In that file you can find controls on the layout of pretty much the entire theme.

    There are quite a few lines of code there to go one by one here. So. Probably best thing would be to back up the file and experiment with the numbers assigned to the various elements, until you find what you want.

    You can access the style.css directly in your site's administration, under appearance/editor

Topic Closed

This topic has been closed to new replies.

About this Topic