Site logo

[Resolved] Delete date in sticky post

Home Forums Support [Resolved] Delete date in sticky post

Home Forums Support Delete date in sticky post

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

    Hello 🙂

    I want to hide the date in the sticky post I have on my blog. My blog startpage is the posts page.

    I have tried this:.

    sticky-post time.wp-show-posts-entry-date.published, .sticky-post .wp-show-posts-separator {
    display: none;
    }

    But it doesn’t work, the date remains. How do I?

    I have very limited knowledge of php so I would like to have it in css if possible.

    Thank you!

    #2403907
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link us to the page in question?

    You can use the private information field:
    https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    Let me know 🙂

    #2403911
    Kristina

    Thank you for quick reply. I add the url to the blog in the private area.

    #2403913
    Kristina

    Its only in the sticky post i want to remove the date, not in the other posts in the blog, there the date must stay.

    #2403923
    Leo
    Staff
    Customer Support

    Try this CSS:

    .post.sticky .entry-date.published {
        display: none;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Make sure to clear your caching plugin.

    #2403924
    Kristina

    Fantastic, it works, thank you so very much Leo.

    Im very greatful for your quick reply and we solve this so quick, i love your theme :-).

    Have a great evening!

    #2405195
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.