• Resolved myzze

    (@myzze)


    I have look everywhere, but I can’t find a custom CSS for removing the ” category” text at each category page.
    Please help

    best regard a new beginner in WordPress

    /
    Myzze

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @myzze,

    You have to edit header.php and replace the_archive_title() function with:

    
    if (is_category()) {
      printf('<h1 class="entry-title">%s</h1>', single_cat_title('', false));
    } else {
      the_archive_title('<h1 class="entry-title">', '</h1>');
    }
    

    But keep in mind that this kind of modifications are removed each time the theme gets an update. That’s why I recommend to create a child theme: https://www.wpbeginner.com/wp-themes/how-to-create-a-wordpress-child-theme-video/

    Thanks,
    George – WPCrumbs Co-Founder

    • This reply was modified 7 years, 5 months ago by George J.
    • This reply was modified 7 years, 5 months ago by George J.
    Thread Starter myzze

    (@myzze)

    Thanx you so much : )
    it worked
    i will look right into installation of a child Theme ??
    /
    Myzze

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to remove “Category” text’ is closed to new replies.