Sign in

Remove post date from mercury frontpage

  • This topic has 4 replies, 2 voices, and was last updated 1 year, 3 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #5403

    Hello, I’m trying to remove the post date from the frontpage on the mercury theme. While there is a setting to remove it in the single post page I have not found any selection to remove it from the frontpage. I try to navigate in the frontpage file of the theme and remove the string related to post date but it was not working. Can you help me? Thanks


    Hi @mizard,

    A quick method to hide the post date on the cards (on Frontpage as well as Tag/Author pages) by custom CSS.

    Insert the following by going to “Tools” on the app’s left menu and selecting “Custom CSS”.

    .c-card__text time {
      display: none;


    @shaun2k unfortunately I try without success. Do you have other suggestion?

    @mizard, not sure why it’s not working for you.

    I tried the css on Mercury demo pages and it worked for all 4 different layouts (Masonry, Masonry Compact, Grid, Grid Compact).

    I attached pictures of the before and after adding the css code in the DevTools of the browser.

    Hope I am understanding your problem correctly — does the “after” picture shows what you are looking for?


    @shaun2k, thank you very much, it work now. I don’t know why but before obtaining the desired result (yes, the one that you show in the picture) I had to change to another theme and then go back again to mercury. I find that this happens to me another time when I tried to use custom CSS. I don’t know if this is a problem of main or if it is a common bug. I have both publii and themes updated to the most recent version. Anyway, thank you very much for your help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.