Need help? Check out our Support site, then


Hiding categories, Structure Theme?

  1. Hi

    I'm using the structure theme to build a website (http://studio2792.wordpress.com). What I have done is display the three most recent posts showing the features of the website and displayed my blog posts on a separate page. To do this, the posts I want to appear on the home page are uncategorized, with the other posts all categorized in a "news" category. I don't want the home page to show "filed under: uncategorized", and would like to hide that piece of text. Is that possible using CSS and if so, how?

    Also, in a slightly different question, I have read in the forums about people with contact forms that have their email addresses on, leaving them open to spam attacks. In my contact form on the Contact page, my email address currently appears in it. Is this what people are talking about? If so, how do I correct it?

    David

    The blog I need help with is studio279.wordpress.com.

  2. Your email address in the contact box can be seen only by you and not by anyone else. WordPress.com uses cookies to keep track of logged in members we have cleared our cookies, WordPress.com will recognize us and complete the details for us. No one else will be able to view those details. The next person who comments will see blank fields.

    I do not help with CSS. You will to wait for another Volunteer to help. Have you read this article on the Structure theme so you know how the theme is designed to operate? http://wpbtips.wordpress.com/2010/05/01/introduction-to-structure/

    Also note that when you alter a theme’s stylesheet, you only need to put in the Editor the modification/additions to the CSS, not the entire thing. Read this for more info: http://csswiz.wordpress.com/2009/10/15/if-you-have-the-wp-com-css-upgrade/
    Hope this helps.

  3. @timethief Thanks, I assumed it was just a cookies issue, but I thought it best to be on the safe side. Thanks for the help!

  4. You're welcome. :)

  5. thesacredpath
    Staff

    On the categories, this will take it, and the grey box it is in away.

    .postmeta {
    display:none;
    }

    This will take away the text associated with the content but leave a narrow grey bar beneath the post. Give both solutions a try and see which you like better.

    .postmeta p {
    display:none;
    }
  6. @thesacredpath Thanks, that's just what I was looking for! I'll play around with it a bit and see which I prefer, but that's good to know. Thanks for the help!

  7. thesacredpath
    Staff

    You are welcome.

  8. Hi, this is unlikely to be possible, but here goes. I tried both solutions by @thesacredpath. The first option,

    .postmeta {
    display:none;
    }

    works perfectly in removing the categories from the home page. An unfortunate consequence is that the blog page, news, where I have archived blog posts in another category, look like they run onto each other as they aren't separated by the categories and takes and the bottom. The other option,

    .postmeta p {
    display:none;
    }

    restores the categories so the blog page is legible, but the grey line left on the home page looks odd. I imagine not, but is there a way of tweaking these options so they are not visible on the homepage, but are on the other? Or is it I will just have to pick which is the better option?

    Thanks

  9. thesacredpath
    Staff

    Ah, surprise consequences. Give this a try and see what you think. The last selector of the three below adds some bottom margin to the posts in the categories and also keeps one of the black lines between posts. I think it looks pretty good. I tried it without the line and didn't like it as well.

    .postmeta {
    display:none;
    }
    
    .homepagecontent {
    margin-bottom: 25px:
    }
    
    .post {
    margin-bottom: 25px;
    border-bottom: 4px solid #000000;
    padding-bottom: 5px;
    }

    Make sure and check other post related page types to see if there are any more unintended consequences.

  10. @thesacredpath Thanks for that. It solves the problem on both the homepage and the news page, and looks pretty punchy too. There are no unintended consequences on the other pages, so thanks for sorting that out for me!

  11. You are very welcome.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags