Custom CSS to hide date displayed on blog posts
-
Hello
I have a blog in progress at https://cubictruth.wordpress.com/ .
I would like to hide the dates from the blog posts.I used the inspector to find that the date has the class
"wp-block-post-date"
and is a descendent of div classwp-site-blocks
in the marketing bar.
It has parentwp-block-group
.
I want to add custom CSS as follows (or similar):.wp-block-post-date { display: none; }
I need to select the block and choose “advanced” then add custom CSS. .
On the blog post, not actually found the exact block.
The post doesn’t have an advanced / CSS option, so I have to locate the block.Appreciate tips on how to grab this element and apply CSS to it.
Thanks!
The blog I need help with is: (visible only to logged in users)
-
It looks like you asked this over here https://wordpress.com/forums/topic/custom-css-to-hide-date-on-blog-posts/ Please follow up there. Thanks.
Marking this thread as a duplicate.
-
Thanks! I got an error message and thought it hadn’t submitted with the other profile so I switched over here and to ask instead!
Regards -
- The topic ‘Custom CSS to hide date displayed on blog posts’ is closed to new replies.