Remove "Category Archives" (and "Tag Archives") Label

  • Author
    Posts
  • #66407
    jilldyche
    Member

    What CSS code can I use to remove the “Category Archives” label on category pages?

    Instead of displaying: “CATEGORY ARCHIVES VIDEO”
    I want to display: “VIDEO”

    Same question for “Tag Archives”: How do I remove the label only?

    I have the Premium/CSS upgrade. Thanks for your help.

    The blog I need help with is: (visible only to logged in users)

    #66518
    otjeremy
    Member

    Hi Jill,

    You will need the ‘Custom Design’ or ‘Custom CSS’ add-on, and with either you should be able to hide ‘Category’ and ‘Archives’ with the following CSS:

    .archive .wrap_line_1,
    .archive .wrap_line_2 {
        display: none;
    }

    Thanks!

    #66678
    jilldyche
    Member
    Original poster

    Thank you! Here’s the code I ended up using:

    .archive .page-title .wrap_line_2,
    .archive .page-title .wrap_line_3 {
    	display: none;
    }

    I only wanted to restrict the first block in the grid.

    This was a fun theme to work with as I upgraded my site from strictly a blog site to a personal site for my professional work.

    #66703
    otjeremy
    Member

    Glad to hear :)

    Cheers!

    #66707
    jilldyche
    Member
    Original poster

    Okay, I spoke too soon. The archive page titles render differently in Chrome (the browser I use) and IE (which most site visitors will use).

    It seems that in Chrome, .wrap_line_1 is empty – that’s why I hid lines 2 and 3. However, in IE, .wrap_line_1 is not empty. Right now, the code is:

    .archive .page-title .wrap_line_1,
    .archive .page-title .wrap_line_2 {
    	display: none;
    }

    Now it looks fine in IE, but not in Chrome. Is there some way you can fill the empty line in Chrome (.wrap_line_1) so that .wrap_line_1 renders the same value in both Chrome and IE?

    Or some other solution…

    #66710
    otjeremy
    Member

    Can you confirm the version of IE you tested in?

    Thanks!

    #66711
    jilldyche
    Member
    Original poster

    Yes, I’m on 11.0.9600.17501IS.

    #66715
    otjeremy
    Member

    Hi Jill,

    Thanks :) The title is actually wrapped differently depending on browser: Chrome, FireFox, Internet Explorer. I’m going to bring this to the attention of our lead dev, and then will follow up with you when I hear back.

    Thanks!

    #66717
    jilldyche
    Member
    Original poster

    Thank you. I’m launching my new book on the site tomorrow. I’ll wait to “make a splash” until this issue is resolved.

    #66796
    jilldyche
    Member
    Original poster

    Just checking in. Now that the site has launched, folks are starting to report back on this issue as an error. Any ETA?

    #66798
    otjeremy
    Member

    Hi Jill,

    My apologies for the delay – I haven’t heard back, so I will check in to see what the word is. In the mean time, it would be best to remove the custom CSS you’ve applied, which will ensure the default display, displays.

    Thanks!

    #66801
    otjeremy
    Member

    Hi Jill,

    We’ve made some changes to the theme, which should go through in the next day or two (after WP approves the changes). You’ll then be able to hide the title with the following:

    .archive .page-header .page-title span {
        display: none;
    }

    Thanks!

    #66802
    jilldyche
    Member
    Original poster

    That’s fantastic. I just added the code and it works brilliantly. Thank you!

    On a related note, since the site went live last week, we’ve got a lot of compliments on the design. Thanks for such a great theme to work with.

    #66842
    otjeremy
    Member

    Glad to hear :)

    Cheers!

  • The topic ‘Remove "Category Archives" (and "Tag Archives") Label’ is closed to new replies.