• Resolved danielemari

    (@danielemari)


    hallo,
    i wish you can help me with my website/pictorico based,

    in order to not having the dates to show up in the home page/thumb or even in the single articles.
    i’ve tried with the css you’ve been suggesting on previous topics,
    but it didn’t worked as, maybe, i have a static home page as a landing page
    before getting to the articles themslefs

    thank you very much

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • AddWeb Solution

    (@addweb-solution-pvt-ltd)

    Hello danielemari,

    Try below css code.


    .entry-meta {
    display:none;
    }

    Hope this will helps you.

    Thanks !

    Thread Starter danielemari

    (@danielemari)

    hey!

    not working 🙁
    maybe i have others custom css in conflict…

    thank you anyway

    AddWeb Solution

    (@addweb-solution-pvt-ltd)

    Try with !important rule.

    .entry-meta {
      display:none !important;
    }

    Hope this will helps you.

    Thanks again for chiming in @addweb-solution-pvt-ltd.

    @danielemari: If you have the Jetpack plugin then you can make use of the Content Options feature, without the need for custom CSS.

    Navigate to Appearance > Customize in your site’s /wp-admin area then select the Content Options tab. You can then uncheck the box next to “Display Date” there.

    If you’d prefer to use custom CSS then the following is needed to override the theme’s style.css file and hide the date on the home page:

    .blog .site-content .entry-meta, .archive .site-content .entry-meta, .search .site-content .entry-meta {
        display: none;
    }

    You can then use this extra piece to hide the date on individual blog posts:

    .entry-meta {
      display: none;
    }

    It’s best to avoid using !important in CSS whenever possible. It’s usually not needed and it can make it more difficult to troubleshoot your CSS down the road, since !important acts as an override. Generally it’s best to write more specific CSS if you need to, rather than rely on !important to force the code to work.

    Let me know if you have any extra questions around the above!

    Thread Starter danielemari

    (@danielemari)

    Thank you so much @siobhyb
    i only had to go through Appearance > Customize > Content Options
    without any need of any CSS
    and worked pretty good!

    really really apreciate

    i think i must start another extra topic for some other questions

    • This reply was modified 6 years, 5 months ago by danielemari.

    Glad that helped. 🎉 We’ll be happy to help with further questions on your new thread.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘how to remove dates’ is closed to new replies.