Natural Theme – Hide Post Author Only

  • Author
    Posts
  • #2945205

    kshields182
    Member

    Hi,
    I’m looking to hide the post author in the Natural theme.

    The code

    align-left a {
    	display: none;
    }

    hides the post author but the text on a post still reads “Posted on April 13, 2017 by”. I’d like to get rid of the word “by”.

    If I use

    .align-left {
    	display: none !important;
    }

    then the whole line disappears, but I’d like to keep the date in.

    My website is currently under development and is private so I can’t give a url.

    Is there anything I can do with this particular theme to hide the author only?

    Thanks.

    #2945433

    Hi there, due to the way that the HTML is structured in Natural, there isn’t a way to hide just the “by” and the author. The “Posted on April 13, 2017 by” is a single string of text created by the theme software, so we can’t remove just the “by”.

    I have filed an enhancement ticket with the theme author to have the HTML restructured so that the date or author can be hidden separately, but this will be the author’s decision. Hopefully they will look at things and make the change. I’ll post back here when I get a response from them.

    #2945447

    kshields182
    Member

    I was worried that was the case. Thank you very much, please let me know what you hear.

    #2945453

    sixhours
    Staff

    Howdy! I wanted to let you know the theme author has made this enhancement to the theme. I hope this helps!

    Cheers,
    Caroline

The topic ‘Natural Theme – Hide Post Author Only’ is closed to new replies.