Remove "Category Archives" tag at the top of linked page?

  • Author
    Posts
  • #1406642

    joeybeats
    Member

    Hello.

    I’ve searched this forum for the specific code to remove or hide “Category Archives” from a few of my linked pages. I tried a couple of the CSS suggestions out and none of them worked. I presume it must be a theme issue.
    For example, I read one suggestion of simply turning posts into pages or vice versa. I don’t want to turn my posts into pages because I’d like to keep my front page grid as is. However if there is a way for my posts to serve as pages while keeping its original form, I’d love to know.

    I’ve also tried the following codes to no avail:

    .archive-header {
    display: none;
    }

    .category .single-title h1 {
    display: none;
    }

    That said, is there anyway to remove the “Category Archives” tag atop a few of my linked pages?

    The blog I need help with is joeybeats.wordpress.com.

    #1406763

    justpi
    Member

    To remove the headings from all category pages, add this:

    .category .page-title {
        display: none;
    }

    To remove it selectively, you need the IDs of the particular category pages. For example, this will remove the heading from the “Full Length Work” category page:

    .category-141633243 .page-title {
        display: none;
    }

    #1406775

    joeybeats
    Member

    Cool!

    I know I might be splitting hairs here but is there anyway I can get the actual TAG back, only removing the “Category Archive” text?

    #1406783

    Try this:

    .category .page-title {
        font-size: 0;
    }

    It should reduce “Category Archives:” to nothing but leave the rest intact, as the rest is enclosed in its own span tags.

    #1406791

    joeybeats
    Member

    SUCCESS!

    Thanks so much Pana!

    #1406808

    justpi
    Member

    You’re welcome!
    (As the avatar shows, that was me under a different username.)

The topic ‘Remove "Category Archives" tag at the top of linked page?’ is closed to new replies.