This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

How Can I Remove Date and Category Info from Posts

Resolved 4 replies premiumthemetheme-origami
11 years ago · Last reply by Aussiebill 11 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

4
  1. Andrew Misplon Staff 11 years, 26 days ago

    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. Aussiebill 11 years, 26 days ago

    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. Andrew Misplon Staff 11 years, 25 days ago

    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. Aussiebill 11 years, 21 days ago

    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.

Have a different question or issue?

Start New Thread