Home>Support>How Can I Remove Date and Category Info from Posts

How Can I Remove Date and Category Info from Posts

I would like to remove the display at the top of every post which says “on January 24, 2015 – Uncategorised”
I can see that I will need to use the inbuilt Custom CSS in my Origami Premium theme and I have rerad through the info at “https://siteorigin.com/basics/modifying-theme-design-with-custom-css/” but I am would appreciate a bit more assistance.
I generally use Chrome and I have opened the Developer tool at the webpage that has the display I wish to remove but I am not sure what I should be taking notice of in the two info areas provided by the developer tool. Is the critical info in the left or right pane?
I am still creating the site and only running it locally so I cannot show it to you yet.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 8 months ago Andrew Misplon
    Hi, I Work Here

    Hi Aussiebill

    Try the following under Appearance > Custom CSS:

    /* Origami Remove Post Info */
    
    .post .post-info { display: none; }
    

    In Developer view you’re seeing HTML on the left and CSS on the right. They’re both important, the CSS targets the HTML.

    Hope that helps.

  2. 9 years, 8 months ago Aussiebill

    Thanks Andrew and ,of course, it worked just as you said it would. Just like magic.

    So does the Custom.css override code in other style sheets? I guess that’s the way it is designed to happen. I wonder how this piece of code knows which .CSS it has to change?
    Thanks again.

  3. 9 years, 8 months ago Andrew Misplon
    Hi, I Work Here

    Super, glad that helped.

    CSS works by using order and specificity. We can either put the same selector after the original selector or be more specific. Custom CSS is loaded after the main stylesheet so selectors there will usually take precedence over the original. .post .post-info refers to the HTML container we’re targeting.

  4. 9 years, 8 months ago Aussiebill

    Thanks for your help and this extra info. I will have a good look at this.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More