Remove text "category archives" (newsworthy theme)

  • Author
    Posts
  • #1329832

    I’d like to remove text “category archives” in theme newsworthy when those archives are viewed. This CSS removes it, but also removes the actual name:

    .page-header {
    display: none;
    }

    I’d like to still see my category name at top when archives are viewed if possible.

    The blog I need help with is bcbsantitrust.com.

    #1330146

    First, it helps to have a specific attempt to look at. I found this category page on your blog:
    http://bcbsantitrust.com/category/court-orders/

    Since you’ve hidden all page headers, you would need and hide them by removing this first:

    .page-header {
    	display: none
    }

    Then add the CSS in its place:

    .category .page-title {
    	visibility: hidden;
    }
    .category .page-title span {
    	float: left;
    	visibility: visible;
    }

    That leaves category descriptions (if you have added any) with funny spacing. If you want to keep the category descriptions, you can modify them from the Posts > Categories section in your blog dashboard. To make them appear on their own line, you can add this CSS:

    .category .taxonomy-description {
    	clear: both;
    	padding-left: 20px;
    }

    Or if you wanted to hide them entirely, use this instead:

    .category .taxonomy-description {
    	visibility: hidden;
    }
    #1330191

    Thanks for the update. This is my entire custom .css as of now, having looked at your suggestions. It works perfectly for the category Court Orders but strangely floats below the grey box on Litigation updates. Any ideas?

    ‘.post-meta {
    display: none;
    }

    .category .page-title {
    visibility: hidden;
    }

    .category .page-title span {
    float: left;
    visibility: visible;
    }

    .category .taxonomy-description {
    visibility: hidden;
    }

    .author-meta {
    display: none;
    }’

    #1330194

    Ah, yes. You’ve removed the category description entirely, and having it there changed the structure a bit. Instead of making the span float:left, try updating the “.category .page-title span” block to this instead:

    .category .page-title span {
    	display: block;
    	padding-bottom: .8em;
    	visibility:visible;
    }

    Adjust the .8em value as needed.

    #1330199

    Thanks! That worked perfectly.

The topic ‘Remove text "category archives" (newsworthy theme)’ is closed to new replies.