Archived topic
Customizing the post date
7 replies · Started by Hasan on June 6, 2019
I've placed the following CSS on the child theme to customize the post date on the single posts as provided on the theme document:
.posted-on .updated:before {
content: "Taken on ";
}
But nothing is being changed. Please suggest how to fix that: http://prntscr.com/nydari
Try this:
.posted-on:before {
content: 'Taken on ';
}
Perfect! Thanks!!
You're welcome
Hi again David!
How can I also change this for the list created with show posts on this page? https://snapbangladesh.com/stories/
I need this line to be the same format as the single posts like this: http://prntscr.com/nyf7yg
Try this:
.wp-show-posts-entry-meta {
display: flex;
flex-direction: row-reverse;
justify-content: flex-end;
}
.wp-show-posts-separator {
display: none;
}
.wp-show-posts-byline:before {
content: '\00a0 by ';
}
.wp-show-posts-posted-on:before {
content: ' Taken on ';
}
Awesome! Thanks a million!! :)
You're welcome