Remove date on posts - Casper theme

Hello:

Can anyone please share the code injection to use to remove the date on the Casper theme? I’m on Ghost (Pro).

Thank you!
Tash

1 Like

Hey Tash - I think its this

time.article-byline-meta {
display: none;
}


(check by right clicking on the date, and in the ‘inspect’ panel of your browser, just find the correct element.

Then just paste in the above (including the style open/close brackets)

1 Like

Thank you. I tried this but it didn’t work for me unfortunately

time.article-byline-meta { display: none; }

Link the site? Its a lot easier to troubleshoot live code.

Hi:

Ok. It’s https://www.thriverslane.com

Thank you

1 Like

Your selectors are wrong. Probably developed for a different theme?

time.byline-meta-date looks like what you want. Or time.post-card-meta-date to target dates on the homepage.

1 Like

Cathy:

This absolutely worked! Thank you SOOO much. I’m new to Ghost after using Wordpress (self-hosted) for many, many years. I’m not a web developer and I’m still getting to grips with Ghost, so I very much appreciate your help.

-Tash

2 Likes