Remove date from posts on categories page
-
Trying to remove the dates from these posts on the categories page:
http://woodcreekdesigns.com/category/windows/so far i have tried:
.entry-date {
display: none;
}.postmetadata {
display: none;
}.posted-on {
display: none;
}.post-format-icon {
display: none;
}.date-comments .fl {
display: none;
}None of these have worked, this is the Linen theme.
The blog I need help with is: (visible only to logged in users)
-
Try this:
.post-date { display: none; }Here’s a helpful guide for finding CSS elements: https://en.support.wordpress.com/custom-design/how-to-find-your-themes-css/
-
When I applied the CSS code to your site, the dates went away. Here’s a screenshot: https://cloudup.com/cuH6HszmSgh
I did some searching and found an old forum thread dealing with the same issue and it included the same CSS code that I had suggested: https://premium-themes.forums.wordpress.com/topic/hide-date-box-on-post-thumbnails?replies=4
If you can make a screenshot of your CSS code in the Customizer, we can have look. Or if you’d rather have a staff member assist, feel free to add “modlook” as a tag on this thread.
-
I tried moving it to the top of my entries and that seemed to do the trick!
This removed all dates, post authors, and featured images from posts:
.post-date {
display: none;
}.single-post-thm {
display: none;
}.single-post-meta {
display: none;
}
- The topic ‘Remove date from posts on categories page’ is closed to new replies.