Remove Word 'Category' from Category Pages

  • Unknown's avatar

    I have read as many of the forums on this as I can… I have tried using the CSS codes that others have suggested, and it hasn’t worked… I am trying to remove the word Category from the page title of my category pages. I have a number of category pages and I’m trying to get rid of the word Category and the ‘:’ with it, but each CSS code I try won’t remove it.

    zimmrants.com/category/nfl, I don’t mind it in the URL, but I don’t want it to display on the actual page…

    I have no idea what else to try since I’ve tried so many of the CSS codes suggested already.

    Help would be greatly appreciated.

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

  • Unknown's avatar

    hi,

    Others have requested the same before but I am afraid it is not possible.
    Check out @thesacredpath’s reply here:
    https://en.forums.wordpress.com/topic/help-removing-category-from-page-title/

  • Unknown's avatar

    Thank you, Kosiew. I appreciate you finding that for me!

  • Unknown's avatar

    Hi realmatthewzimmer,

    I looked at your theme and the word “Category” and the category name are included in the same element, which means there isn’t a way to target them individually. Therefore, both parts of the title would need to be hidden.

    This can be achieved by pasting the following code into My Sites > Customise > CSS:

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

    CSS is theme specific, so the code I’ve given you is a little different from the example in the thread @kosiew linked to.

    Please let me know if you need any further help.

  • Unknown's avatar

    I made a small change to the code above and this is the updated version:

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

    Just wanted to make sure you had seen it :)

  • The topic ‘Remove Word 'Category' from Category Pages’ is closed to new replies.