# Removing Date From Blog Posts

**URL:** <https://forum.ghost.org/t/removing-date-from-blog-posts/36291>\
**Category:** Themes\
**Created:** [February 12, 2023, 9:19am UTC](https://forum.ghost.org/t/removing-date-from-blog-posts/36291 "2023-02-12T09:19:09Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Soma](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/soma/32/23089_2.png) [@Soma](https://forum.ghost.org/u/Soma)\
**Post date:** [February 12, 2023, 9:19am UTC](https://forum.ghost.org/t/removing-date-from-blog-posts/36291/1 "2023-02-12T09:19:09Z")

</div>

Hi there, i have just changed theme to [About this theme](https://journal.ghost.io/about/)

I am trying to remove the date on blog posts but i cannot find any settings and unsure what to put into the site header code injection.

Any help would be amazing.

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [February 12, 2023, 1:22pm UTC](https://forum.ghost.org/t/removing-date-from-blog-posts/36291/2 "2023-02-12T13:22:27Z")

</div>

For the front page:

```auto
<style>
.gh-card-date { visibility: none }
</style>

```

For individual posts, add this:

```auto
.gh-article-meta time {visibility: none }

```

But that leaves behind a – before where the time should be. Unfortunately, that’s a text node, and I’m not managing to hide it without hiding the whole .gh-article-meta. (Argh.)

---

<div class="post-metadata">

**Author:** ![Soma](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/soma/32/23089_2.png) [@Soma](https://forum.ghost.org/u/Soma)\
**Post date:** [February 12, 2023, 3:50pm UTC](https://forum.ghost.org/t/removing-date-from-blog-posts/36291/3 "2023-02-12T15:50:26Z")

</div>

Hey Cathy,  
I tried what you said but no luck sadly.

Unless i am doing something wrong.

 ![Screenshot 2023-02-12 at 14.35.23](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/e/d/ed9fae75f684491667e0dd79e3f2fc800b98a76b.png)

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [February 12, 2023, 5:40pm UTC](https://forum.ghost.org/t/removing-date-from-blog-posts/36291/4 "2023-02-12T17:40:02Z")

</div>

Got a link to your site?

---

<div class="post-metadata">

**Author:** ![Soma](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/soma/32/23089_2.png) [@Soma](https://forum.ghost.org/u/Soma)\
**Post date:** [February 12, 2023, 6:17pm UTC](https://forum.ghost.org/t/removing-date-from-blog-posts/36291/5 "2023-02-12T18:17:41Z")

</div>

sure thing

> **[Soma Technologies. Mobile Cognitive Performance](https://blog.soma-npt.ch)**
>
> Soma Technologies is a cognitive performance training platform utilised by professional athletes, military, and universities
> around the world.

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [February 12, 2023, 7:17pm UTC](https://forum.ghost.org/t/removing-date-from-blog-posts/36291/6 "2023-02-12T19:17:51Z")

</div>

Sorry - that should have been either `visibility: hidden` or `display: none`

Sorry for the confusion! :)

---

<div class="post-metadata">

**Author:** ![Soma](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/soma/32/23089_2.png) [@Soma](https://forum.ghost.org/u/Soma)\
**Post date:** [February 12, 2023, 7:32pm UTC](https://forum.ghost.org/t/removing-date-from-blog-posts/36291/7 "2023-02-12T19:32:07Z")

</div>

Super, all working now thank you

.gh-card-date { display: none }

is what i used

---

<div class="post-metadata">

**Author:** ![Soma](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/soma/32/23089_2.png) [@Soma](https://forum.ghost.org/u/Soma)\
**Post date:** [February 12, 2023, 7:33pm UTC](https://forum.ghost.org/t/removing-date-from-blog-posts/36291/8 "2023-02-12T19:33:19Z")

</div>

This is what i used

![Screenshot 2023-02-12 at 20.32.51](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/8/b/8bbee4a8b25299e9f2f98f8356198e9de69957c2.png)

---

<div class="post-metadata">

**Author:** ![smartbizexec](https://avatars.discourse-cdn.com/v4/letter/s/85e7bf/32.png) [@smartbizexec](https://forum.ghost.org/u/smartbizexec)\
**Post date:** [June 12, 2023, 10:12pm UTC](https://forum.ghost.org/t/removing-date-from-blog-posts/36291/9 "2023-06-12T22:12:28Z")

</div>

I am trying to remove the date on all posts in the digest theme but this code injection is not working. Do you have another work around

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [June 13, 2023, 12:16am UTC](https://forum.ghost.org/t/removing-date-from-blog-posts/36291/10 "2023-06-13T00:16:13Z")

</div>

Hey @smartbizexec ! Every theme needs different code injection. For Digest, try:

```auto
<style>
.gh-article-date { display: none } 
</style>

```

Or if that doesn’t work, tack an ‘important’ on, like this:

```auto
<style>
.gh-article-date { display: none!important } 
</style>

```

---

<div class="post-metadata">

**Author:** ![smartbizexec](https://avatars.discourse-cdn.com/v4/letter/s/85e7bf/32.png) [@smartbizexec](https://forum.ghost.org/u/smartbizexec)\
**Post date:** [June 13, 2023, 12:45am UTC](https://forum.ghost.org/t/removing-date-from-blog-posts/36291/11 "2023-06-13T00:45:29Z")

</div>

Wow Cathy, thank you I used the important and it worked. Is there a way to remove the words latest post

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [June 13, 2023, 1:56am UTC](https://forum.ghost.org/t/removing-date-from-blog-posts/36291/12 "2023-06-13T01:56:41Z")

</div>

Looks like the code below added to your `<style>` section should do it. That ‘latest issue’ is the only spot I see that selector in use, but if you find anything else is suddenly missing, it’s possible that you need something more selective…

```auto
.gh-article-label {
  display: none!important;
}

```

Oh, and if you’re looking to remove all dates, you may also want to target `.gh-card-date` - I see it in use on the authors page. :)

---

<div class="post-metadata">

**Author:** ![smartbizexec](https://avatars.discourse-cdn.com/v4/letter/s/85e7bf/32.png) [@smartbizexec](https://forum.ghost.org/u/smartbizexec)\
**Post date:** [June 13, 2023, 6:41am UTC](https://forum.ghost.org/t/removing-date-from-blog-posts/36291/13 "2023-06-13T06:41:30Z")

</div>

Thank you so much Cathy. I noticed some themes have styles like underline and highlight but i don’t see that option in my digest theme. how do i underline or hightling

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [June 13, 2023, 11:41am UTC](https://forum.ghost.org/t/removing-date-from-blog-posts/36291/14 "2023-06-13T11:41:39Z")

</div>

If you select some content in the editor, a small popover will show up that allows you to pick underline or italic. (Ctrl/cmd-U or -I also works.) Styling is up to the theme (and can be tweaked with code injection), but that’s how you get the theme to do whatever it’s set to do.

---

<div class="post-metadata">

**Author:** ![smartbizexec](https://avatars.discourse-cdn.com/v4/letter/s/85e7bf/32.png) [@smartbizexec](https://forum.ghost.org/u/smartbizexec)\
**Post date:** [June 13, 2023, 4:30pm UTC](https://forum.ghost.org/t/removing-date-from-blog-posts/36291/15 "2023-06-13T16:30:01Z")

</div>

Thank you Cathy. I’m using the Digest theme so there is no underline, italics or highlight. Is there a code I can inject so that when I hover it shows that.

Also is there a a code to change font and font size.

Thank you

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [June 13, 2023, 4:41pm UTC](https://forum.ghost.org/t/removing-date-from-blog-posts/36291/16 "2023-06-13T16:41:32Z")

</div>

You can always add bold and italics in the editor, although how a theme displays it might vary. You highlight the text, then hover a second with the mouse. It looks like this:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/7/7/7753c7549e653b480319218bac29768111022372.png)

You can access underlining with CTRL (or the Mac equivalent)-U. Ctrl-I and -B also work, if you find that faster.

I just confirmed that this works with Digest, i.e.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/a/8/a8a485f59a66541b7bb4e9f5c208161f074a98f9.png)

(If that isn’t working for you, what browser, and are you on the new beta editor, or the original? I just tested with Chrome and both the old and beta editors seem fine.)

Update: If you want highlighting, that’s a bit trickier. Options:

- Use a MD card or an HTML card.
- Cheat! Repurpose some other styling. For example, the following [in your Ghost code injection] highlights text that is **both** italic (em) and bold (strong) [and doesn’t italicize or bold it].

```auto
<style>
strong em, em strong { /*listed in both order so that you don't have to apply them in a specific order in the editor */
    background: yellow;
    font-style: normal; /*these turn off the italics and bold*/
    font-weight: normal;
</style>

```

If you’d rather repurpose underlining than italic or bold, that ‘u’, and you’d want `text-decoration: none` to avoid underlining the highlighted text.

---

<div class="post-metadata">

**Author:** ![smartbizexec](https://avatars.discourse-cdn.com/v4/letter/s/85e7bf/32.png) [@smartbizexec](https://forum.ghost.org/u/smartbizexec)\
**Post date:** [June 15, 2023, 3:08am UTC](https://forum.ghost.org/t/removing-date-from-blog-posts/36291/18 "2023-06-15T03:08:28Z")

</div>

Hi cathy. how do i increase the font size on mobile

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [June 15, 2023, 3:33am UTC](https://forum.ghost.org/t/removing-date-from-blog-posts/36291/19 "2023-06-15T03:33:39Z")

</div>

A search of the forum got me several discussions of how to adjust font size, including this one, which gives several options for mobile: [Change font size on mobile - #6 by wbullock](https://forum.ghost.org/t/change-font-size-on-mobile/31587/6) . Here’s another: [Change font size](https://forum.ghost.org/t/change-font-size/32670)

Whether those selectors will work on Digest, I’m not sure off the top of my head, but if you right click and inspect one of your pages, you can figure out what selectors will target the font you’re trying for.

Please try it out and post if you get stuck, being sure to show what you’ve already tried! 🙂

---

<div class="post-metadata">

**Author:** ![smartbizexec](https://avatars.discourse-cdn.com/v4/letter/s/85e7bf/32.png) [@smartbizexec](https://forum.ghost.org/u/smartbizexec)\
**Post date:** [June 17, 2023, 4:23am UTC](https://forum.ghost.org/t/removing-date-from-blog-posts/36291/20 "2023-06-17T04:23:07Z")

</div>

Cathy I tried these before I asked you and none of them worked.

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [June 17, 2023, 9:34am UTC](https://forum.ghost.org/t/removing-date-from-blog-posts/36291/21 "2023-06-17T09:34:23Z")

</div>

Please try it out and post if you get stuck, **being sure to show what you’ve already tried!** 🙂

[Next page](https://forum.ghost.org/t/removing-date-from-blog-posts/36291.md?page=2)
