Remove "Category Archives" (and "Tag Archives") Label
-
AuthorPosts
-
jilldyche
MemberWhat 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)
otjeremy
MemberHi 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!
jilldyche
MemberOriginal posterThank 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.
otjeremy
MemberGlad to hear :)
Cheers!
jilldyche
MemberOriginal posterOkay, 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…
otjeremy
MemberCan you confirm the version of IE you tested in?
Thanks!
jilldyche
MemberOriginal posterYes, I’m on 11.0.9600.17501IS.
otjeremy
MemberHi 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!
jilldyche
MemberOriginal posterThank you. I’m launching my new book on the site tomorrow. I’ll wait to “make a splash” until this issue is resolved.
jilldyche
MemberOriginal posterJust checking in. Now that the site has launched, folks are starting to report back on this issue as an error. Any ETA?
otjeremy
MemberHi 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!
otjeremy
MemberHi 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!
jilldyche
MemberOriginal posterThat’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.
otjeremy
MemberGlad to hear :)
Cheers!
- The topic ‘Remove "Category Archives" (and "Tag Archives") Label’ is closed to new replies.