Category Post titles

  • I now have a static front page w videos but it also shows my Post Categories. When I go into these by category it says ‘Archive for___’
    How do I delete the words Archive for and just leave on the name of the category?

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

  • The way the category titles are coded on this theme, you cannot literally delete that part of the title. What you can do is delete the entire title and add substitutes manually.

    Add this to hide the titles and format the substitutes:

    .category h1.pagetitle {
    margin-bottom: 0;
    visibility: hidden;
    }
    .category h1.pagetitle:before {
    display: block;
    visibility: visible;
    }

    Then add this as many times for as many categories:

    .category-N h1.pagetitle:before {
    content: "S";
    }

    Replace N with the category id number or the category slug, replace S with the actual category name. For example:

    .category-80986 h1.pagetitle:before {
    content: "Environmental Disasters";
    }

    or:

    .category-environmental-disasters h1.pagetitle:before {
    content: "Environmental Disasters";
    }
  • The topic ‘Category Post titles’ is closed to new replies.