• Hi
    I am trying to hide the entry-title for the Category-Archive on my site. I have tried to do it in the Additional CSS. For example by writing this:

    .entry-title {
    display: none
    }

    But this only removes the site-title of the whole website which I do not wish to hide.
    It does not remove or hide the entry-title of the Category-Archive nor the entry-title of pages, like: https://karinabachlauritsen.com/kontakt/

    I did succeed in hiding other kinds of blog/post like tags, date and that kind of info using the Additional CSS:

    .before-content {
    display: none;
    }

    .post-links {
    display: none;
    }

    .after-content {
    display: none;
    }

    But how can I hide the Category-Archive entry-title?

    I have created a php file named “category.php” which is a dublicate of the already provided archive.php. Can something be done there?

    Thank you ?? and kind regards, Lene

    • This topic was modified 1 year, 10 months ago by Lebala.
    • This topic was modified 1 year, 10 months ago by Lebala.
    • This topic was modified 1 year, 10 months ago by Lebala.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @lebala,

    Try following css rules.

    For archive, this will also apply to all categories.

    .archive .entry-title {
        display: none !important;
    }

    For any specific category. Replace CATEGORY_SLUG with your specific category slug.

    .category-CATEGORY_SLUG .entry-title {
        display: none !important;
    }

    Hope that helps.

    Thread Starter Lebala

    (@lebala)

    Hi @irizweb
    Thank you so much for your suggestion and it partly solved the problem.
    It does hide the entry-titel for the category but unfortunately it also hides the title of the website…



    Hi @lebala, can you send the links

    • This reply was modified 1 year, 10 months ago by irizweb.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to hide entry-title for Archive Category’ is closed to new replies.