Hi All,

We are working on a blogging site with 4 separate categories of content. To arrange our content we created a vocabulary called "Blog Primary Categories" and then have a term for each of the four separate contents.

We then created a subtheme for each of the 4 different terms, allowing us to have 4 different "channels" for our viewers. Embedded in the theme itself are the names of those channels.

Next, we setup ThemeKey to automatically switch to the appropriate subtheme depending on the current taxonomy term.

This all works beautifully except for one thing--when you visit the taxonomy term pages, it shows the taxonomy term as the page title. This is redundant because the subtheme itself informs the user what "channel" they are on.

So, I'd like to prevent the taxonomy terms from display when you are viewing the list of content for this particular theme.

How should I go about this?

Thanks for any suggestions!

-Josh

Comments

ergunk’s picture

If you are not using "#page-title" for informing about channel or another thing, this should help:

.page-taxonomy-term #page-title {
  display:none;
}

Or if there is only one h1 on page(it should be so), you can use this:

.page-taxonomy-term h1 {
  display:none;
}

The key is putting .page-taxonomy-term to make it work only in taxonomy term pages. Then put your taxonomy term page title class/ID after that and make it invisible with display:none;.


Mediasaur | http://www.mediasaur.com/en | http://twitter.com/mediasaur


Before asking for help, please read this http://slash7.com/2006/12/22/vampires/ and don't be a "Help Vampire". :)
enochRoot’s picture

Hi,

I'm asking myself why I can choose 'None' as a title for the taxonomy_term view, but still get a h1 with the term on the resulting page....

actually, it makes no difference what I put in as title, so this seems to be a bug.