WordPress.org

Support

Support » Themes and Templates » Sparkling » [Resolved] Category Images & Date Removal

[Resolved] Category Images & Date Removal

  • 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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Silkalns

    @silkalns

    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

    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 200×200 and align left of text within excerpt? Rather than above the excerpt as it is by default?

    Theme Author Silkalns

    @silkalns

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Category Images & Date Removal’ is closed to new replies.
Skip to toolbar