Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #536059

    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

    #536209

    Hey sitesme!

    Please use the following:

    .post-meta-info { display: none; }

    let us know if that works out.

    Regards,
    Basilis

    #536211

    Hi Basilis,

    Unfortunately the code didn’t work. I still see the date on the side widget of my blog posts.

    #536729

    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

    • This reply was modified 9 years, 1 month ago by Elliott.
    #537193

    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.

    #537359

    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

    #538117

    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.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Hide time from blog posts’ is closed to new replies.