• Resolved hmahraj

    (@hmahraj)


    How can I hide the date a post or page was published, comments and more that appears at the end of all posts or pages in the Search Results? I tried to remove what might be meta data, but not sure, with the following css. It did not work.
    }
    .post .meta, .pages .meta {
    display: none;
    }
    Is there css I can use that will make this invisible forever even after adding new posts or pages to the site?
    Thanks.

    https://hersheylibrary.org/?s=hershey

Viewing 2 replies - 1 through 2 (of 2 total)
  • works already for posts.

    there is no CSS class .pages in the div;

    use:

    .post .meta, .page .meta {
        display: none;
    }

    if you want ot make it specific only for the search results,
    use:

    .search-results .post .meta, .search-results .page .meta {
        display: none;
    }
    Thread Starter hmahraj

    (@hmahraj)

    Thank you very much. This worked for the site. I appreciate your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to hide meta data’ is closed to new replies.