WordPress.org

Ready to get started?Download WordPress

Forums

How remove or hide "Category Archives:"XX "text on Category Page posts (8 posts)

  1. tradtips
    Member
    Posted 2 years ago #

    How remove or hide "Category Archives:"XX "text on Category Page posts)

    Hi
    I am vijay,

    website http://www.onlineletsbuy.com

    I can't find any answers for removing the text "Category Archives: category name" on the top on each category page.

    please help me on this.

    Thanks in advance.

  2. adpawl
    Member
    Posted 2 years ago #

    you can add in css eg.
    h2 .pagetitle { display:none !important; }

  3. tradtips
    Member
    Posted 2 years ago #

    you mean should i add this code in
    stylesheet
    (style.css) in theme editor.
    Please give me little example where should i Paste this code or which code should i replace.

    There is so many code's are.

    [CSS code moderated - don't post huge amount of code into the forum - the limit is 10 lines - for CSS, post a link to your site (which you have) - for other codes, use the pastebin]

  4. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    look into archive.php of your theme.

    remove:

    <h2 class="pagetitle">Archive for the ‘<?php single_cat_title(); ?>’ Category</h2>
  5. tradtips
    Member
    Posted 2 years ago #

    should i remove only this code <h2 class="pagetitle">Archive for the ‘<?php single_cat_title(); ?>’ Category</h2>

    or replace with
    h2 .pagetitle { display:none !important; }

  6. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    my answer is unrelated to the previous reply by @adpawl

    and clearly says 'remove' as a direct reply to your question.

  7. tradtips
    Member
    Posted 2 years ago #

    worked

    Thanks your so much

    Thanks for kind support.

    vijender

  8. kmadj
    Member
    Posted 1 year ago #

    use either
    .archive .pagetitle{ display: none; }
    or
    .archive .page-title{ display: none; }

    for me the first option worked well:)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.