• Resolved spencerpdx

    (@spencerpdx)


    Hello again,

    I’d like to be able to remove the “posted by spencer on (date)” from the front page thumbnails and posts. I found a couple plugins that do a good job of removing the date and meta, but on this theme that leaves the words “Posted on by” under the title. Is there some additional CSS that might do the trick?

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Geoffrey Shilling

    (@geoffreyshilling)

    Volunteer Moderator

    Try the following CSS:

    .post-author {
        display: none;
    }

    Does that do what you want?

    Thread Starter spencerpdx

    (@spencerpdx)

    Thanks for the suggestion! Unfortunately that didn’t affect it. And it really seems like it should work.

    Geoffrey Shilling

    (@geoffreyshilling)

    Volunteer Moderator

    I was going off the default theme preview. Things may be a little different on your site. Could you please provide a link to a page where this is showing so I can take a look at the actual code?

    Thread Starter spencerpdx

    (@spencerpdx)

    Sure, here you go:

    https://www.cupolamedia.com/

    I’m trying to get the entirety of the line that says “posted on” and “by spencer” to go away, on both the front page featured image:

    2018-12-13_1258

    …and within the posts themselves, for instance:

    2018-12-13_1259

    Thanks again!

    Geoffrey Shilling

    (@geoffreyshilling)

    Volunteer Moderator

    Try adding this CSS and check if it does what you want:

    .post-holder .featured-img:hover .img-title .post-author,
    .banner-img .post-author {
        display: none;
    }

    If that doesn’t work, you could try to use the !important tag, though I prefer to avoid that if at all possible. That would give you this CSS:

    .post-holder .featured-img:hover .img-title .post-author,
    .banner-img .post-author {
        display: none !important;
    }

    Here’s what each piece of that does if you were curious:

    For featured images:

    .post-holder .featured-img:hover .img-title .post-author {
        display: none;
    }

    For individual pages:

    .banner-img .post-author {
        display: none;
    }
    Thread Starter spencerpdx

    (@spencerpdx)

    That first one did the trick, thanks very much Geoffrey!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Way to remove “posted on” / “by” along with meta?’ is closed to new replies.