Hide the Author Name (5 posts)

  1. mrjarbenne
    Posted 2 years ago #

    I'm trying to hide the Author name with a bit of CSS, but what is easy in most other themes is proving to be quite difficult in P2. Hiding meta takes out the timestamp, but not the username, and the only other tag I can find is h4 which hides way too much.

    Is there another way I could do this that I'm not seeing or not thinking of?

    Thanks so much.

  2. Kyle Numann
    Posted 2 years ago #

    Well.. since the author's name is the only link in the h4 tag, you could do
    .post h4:first-child a { display:none; }
    This way only the first h4 with a link will be affected.

  3. mrjarbenne
    Posted 2 years ago #

    That didn't seem to do it. Thanks for the suggestions though.

  4. Andrew
    Forum moderator
    Posted 2 years ago #


    .post a:first-child ~ h4 a:first-child {
     display: none;
  5. mrjarbenne
    Posted 2 years ago #

    That almost worked, but in some cases it hid the permalink, and in others, the permalink and the reply link. Here's a site with that code on it:


    My next battle will be hiding the comment author.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic