WordPress.org

Ready to get started?Download WordPress

Forums

Spun
[resolved] "Category" overlapping page title (3 posts)

  1. tzjakab
    Member
    Posted 7 months ago #

    How can I get rid of the word "Category" showing up behind the actual category title I've created on my pages?

    problem link here :

    http://www.tzjakab.com/?cat=6

  2. tzjakab
    Member
    Posted 7 months ago #

    I looked it up on firebug and found the problem here :

    <div id="content" class="site-content" role="main">
    <header class="page-header">
    <h1 class="page-title">
    Category
    <span>Practice</span>
    </h1>

    ... but I don't know how to get rid of "Category"

    thanks!

  3. tzjakab
    Member
    Posted 7 months ago #

    Got it!

    Under Archive, PHP

    Change :

    if ( is_category() ) {printf( __( 'Category %s', 'spun' ), '<span>' . single_cat_title( '', false ) . '</span>' );

    to

    if ( is_category() ) {printf( '<span>' . single_cat_title( '', false ) . '</span>' );

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.