Deleting the word 'by' from a post

  • Unknown's avatar

    Short question: How do I delete the ‘by’ in the author/date/time line at the top of a post?

    Longer response: Thanks to this fantastic forum, I’ve learned and implemented quite a few CSS tricks! Here’s what I have so far regarding the front post:

    .entry-date {
    	display: none;
    }
    
    .author {
    	display: none;
    }

    The only thing on my front post that hasn’t been removed is the word ‘by’, which I thought would be tied to the Authorship somehow.
    Any way I could remove or change the font color of the word ‘by’ so that it is not visible?

    Side note: I’m using the Eighties Theme.

    Thank you!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Whoops! The blog I need help with is: marthomaweddings.com

  • Unknown's avatar

    Hi, change the selector on this rule in your custom CSS

    .author {
        display: none;
    }

    so that it looks like the below.

    .entry-meta .byline {
        display: none;
    }

    What we are doing with the above is hiding the parent .byline span of .author. The parent is what contains the “by”. Since it is a parent element, it also hides all child elements and makes the author name go away also.

  • Unknown's avatar

    Got it, thank you very much!!

  • Unknown's avatar
  • The topic ‘Deleting the word 'by' from a post’ is closed to new replies.