• Resolved StevenHarowitz

    (@stevenharowitz)


    I used this custom CSS code:

    #tracks .excerpt-meta {
    display: none;
    }

    to remove the post date and author from a post which it did effectively from the category page I have setup. However when Im in the actual post it still shows the post date and author. How can I fix this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Thanks for using Tracks, and nice job with the CSS so far.

    The element containing that same info on the post page is called .entry-meta, so the complete working CSS would be:

    #tracks .excerpt-meta,
    #tracks .entry-meta {
      display: none;
    }

    If you want to update to a newer version of Tracks in the future, make sure to move these changes into a child theme. Otherwise, the new version will overwrite any changes you’ve made to the theme files.

    Here’s an empty Tracks child theme you can use.

    P.S. If you make the switch, the ID on the body will become #tracks-child.

    Thread Starter StevenHarowitz

    (@stevenharowitz)

    Great, thanks!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove post date and author from post’ is closed to new replies.