-
AuthorPosts
-
August 10, 2020 at 10:37 am #1236404
Hi,
I’d like to remove date and time from a single blogpost page.Secondly, I’d like to remove time and allow date to remain on my homepage.
Your help would be very much appreciated.
Best regards.
Moses- This topic was modified 4 years, 3 months ago by mosesjohnson. Reason: Added login credentials
August 11, 2020 at 6:01 am #1236575Hey mosesjohnson,
Please try the following in Quick CSS under Enfold->General Styling:
.single-post time.date-container { display: none; }
Best regards,
RikardAugust 11, 2020 at 7:05 am #1236587Hi Rikard,
Thanks for this.
Could you please also assist me remove time from homepage? When I navigate to settings > general > date and time format and choose an empty custom time, I’m left with this separator: /
Thanks for your help.August 12, 2020 at 5:35 am #1236832Hi,
Thanks for the update. Please try this CSS as well:
.home time.date-container { display: none; }
Best regards,
RikardAugust 12, 2020 at 7:55 am #1236860Hi,
Thanks for your help. Could you please check this CSS for me? It has removed both date and time. I just wanted to remove the time and the separator between the date and time- This reply was modified 4 years, 3 months ago by mosesjohnson.
August 13, 2020 at 3:54 am #1237217Hi,
Thanks for the update. We can’t remove the time only unfortunately, since they are in the same container element. You would have to keep it as it is, or remove both the time and date.
Best regards,
RikardAugust 13, 2020 at 6:48 pm #1237536This reply has been marked as private.August 17, 2020 at 12:31 pm #1238465Hi,
Thank you for the update.
Looks like the date only breaks to the second line on mobile view. We can decrease the font size to keep it on a single line.
Please try this css code.
@media only screen and (max-width: 1024px) { .date-container.minor-meta.updated { font-size: 13px !important; } }
You can change the date and time format in the Settings > General panel.
// https://wordpress.org/support/article/formatting-date-and-time/
Best regards,
IsmaelAugust 17, 2020 at 1:09 pm #1238476Hi
You are right “date only breaks to the second line on mobile view”
I’ve tried the above CSS, the time still drops to the second line. Any other solution please?
Best regards.
MosesAugust 19, 2020 at 4:51 am #1238998 -
AuthorPosts
- You must be logged in to reply to this topic.