Hi,
Can you please provide me the code to hide the time (hour / min) and the hi-fen that is before?
Example here: http://kriesi.at/themes/enfold/2014/04/28/new-electric-cars-are-getting-really-fast/
On the right side where it says “October 21, 2013 – 3:31 pm” we would like to remove ” – 3:31 pm” and keep the date only.
Thank you
Hey sitesme!
Please use the following:
.post-meta-info { display: none; }
let us know if that works out.
Regards,
Basilis
Hi Basilis,
Unfortunately the code didn’t work. I still see the date on the side widget of my blog posts.
Hi!
Your wanting to keep the date and only remove the time correct? Please see here, https://kriesi.at/support/topic/remove-time-from-latest-portfolio-side-bar-widget/.
Cheers!
Elliott
Thank you for the link Elliot.
Isn’t there a way to use a CSS code to hide the time instead of making changes on the theme files? We use a child theme but still… CSS is much more convenient and easier to revert back the changes in the future if we need to.
Hi!
You can hide both using following custom CSS code
.news-time { display: none !important; }
But it is not possible to only hide time using custom CSS. For that, you are going to need to refer to Elliott’s post above
Best regards,
Yigit
Thank you Yigit,
I quite prefer the solution you gave me and remove the date and time from the sidebar. It is ok as far as the date is displayed on the article itself. Thank you very much for this.
PS – Pls check my private content below as well.