WordPress.org

Forums

Sparkling
[resolved] Category Images & Date Removal (4 posts)

  1. dirtyoldlarry
    Member
    Posted 9 months ago #

    Hi, Ive almost got this theme looking perfect.

    1) I am just wondering how I can get rid of the date and category listing that appears hyperlinked with tiny little icons at the top of each post, that are below the h1 post title? Also how to remove the post dates from displaying in the popular posts widget?

    2)Also just wondering if there is a way to allow featured images to be displayed only in category feed, but not when the post is actually opened.

    Currently I am using custom css:

    .single-featured {
        display: none;
    }

    But obviously that allows no featured images anywhere on the site.

    Thanks

  2. Silkalns
    Member
    Theme Author

    Posted 9 months ago #

    1. To get rid of category, date and author you can use

    .entry-meta {
        display: none;
    }

    To hide date from popular post widget you can use this

    .widget .post-content span {
        display: none;
    }

    2. Something like this should do the trick.

    .post .single-featured {
    display: none;
    }

    Add it to Theme Options - Other - Custom CSS

  3. dirtyoldlarry
    Member
    Posted 9 months ago #

    1. worked perfectly, although number 2. did not.

    Lol i'm probably bugging you now, but for 2. if it did work so only featured images are displayed in category feed -- is there a simple bit of code that could force all featured images to say 200x200 and align left of text within excerpt? Rather than above the excerpt as it is by default?

  4. Silkalns
    Member
    Theme Author

    Posted 9 months ago #

    Hiding it entirely would be much easier. Creating a small thumbnail requires a lot of work since you have to register a new image size, adjust its placement and style it properly. I don't think that it is worth it.

    Could you please post an example post in which you would like to hide featured image and will try to help you from there. Code given above should work to hide image above single post but I guess we are talking about different things here.

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.