Triton lite theme – remove text excerpts from tag archive and category archive

  • Author
    Posts
  • #1080720

    Hello everybody,

    I tried to customize the triton lite theme on my blog using css but could not fix the following problem: Triton lite shows a photo and a text excerpt for every post in the tag archives and category archives. As the text excerpts have not the same length for each post I want to remove them in total (the text excerpts, not the posts) with just the photos and the titles of the posts remaining. I could not figure out which exact part of the CSS I have to change to do so – the part for triton lite excerpts affects only the post excerpts on the homepage, not on the archive pages . Does anybody have any idea? Thanks for helping!

    The blog I need help with is lebonheurgouteux.wordpress.de.

    #1080973

    kathrynwp
    Staff

    Hi there, this CSS code will remove the excerpt on all archives pages:

    .archive .post-content p {
    display: none;
    }

    Just let me know if this accomplishes what you’re after.

    #1080974

    Yes, it works – thank you a lot for helping so quickly!

    May I ask a further (and last) question? Reading this code I also figured out how to remove the archive title on the archive pages with this code:

    .archive-title {
    display: none;
    }

    Is there also an option only to remove the term “category archive ” and “tag archive” from the title on the archive pages and to keep the respective name of the category or tag? Example would be: “Antipasti” instead of “Category archive: Antipasti”.

    Thanks in advance for an advice!

    #1080977

    kathrynwp
    Staff

    Yes, it works – thank you a lot for helping so quickly!

    Great!

    Is there also an option only to remove the term “category archive ” and “tag archive” from the title on the archive pages and to keep the respective name of the category or tag?

    Unfortunately, I don’t think that’s possible, because the HTML for that line doesn’t assign separate classes for those two things in the code.

    #1080987

    OK, that’s a plausible explanation. Thanks again for the quick info!

    #1080989

    kathrynwp
    Staff

    My pleasure – happy blogging!

The topic ‘Triton lite theme – remove text excerpts from tag archive and category archive’ is closed to new replies.