Archived topic
ARTICLE Updated date
9 replies · Started by webkingpro on October 26, 2019
I ADDED this code to show the article updated date on the post.
.posted-on .updated:before {
content: "Last Updated ";
}
.posted-on .updated + .entry-date {
display: none;
}
it's only showing on the desktop version it's not showing on mobile version and tab version please help me
Hi there,
the CSS you have added is within the @media (min-width: 769px) { - several CSS rules above it. You need to close off that media query with a closing } then the code will apply to desktop and mobile.
i cant understand this could you please explain me again
Find this CSS:
@media (min-width: 769px) {
.post-image-aligned-left .post-image img {
max-width: 300px;
}
and change it to:
@media (min-width: 769px) {
.post-image-aligned-left .post-image img {
max-width: 300px;
}
}
i will add and let u know
when I add like that, the date is working on the mobile version but I got this
"There is 1 error that must be fixed before you can save.
Update anyway, even though it might break your site?
Unable to save due to 1 invalid setting.
Make the change i suggested above then at the very end of the your CSS you will see this:
} /* End GeneratePress Site CSS */
Remove the } so it only reads this:
/* End GeneratePress Site CSS */
woooooooooow now it's working. love your fast support! <3
Awesome - glad to hear that