Change h1 title for "categories"

Posted in: Newsmag
Post count: 9544

Hi folks
wondering best way to change the header on the “category” indexes, which are more important to us than the tag pages.

So, for example of a category on our California site, like “Los Angeles News” — need to get that into a proper H1 style large “title” ala the “tag” template, and have that above the category description blog instead of the bootstrap style “label” …

I suppose I could copy the code from the tag template?

Post count: 1291

Hi,

I’ve looked on your http://californianewswire.com but you use another theme so i don’t know exactly what you mean. Please provide more details.

Thank you, Emil G.

Post count: 9544

HI, Emil
yes, had to go back to Canvas as 1.71 crashed the site yesterday.

See here:
http://enewschannels.com/news/banking_and_finance/

note the “name of category” (“Banking and Finance”) is a pill button ala Bootstrap
and not a proper “title” on page as here for tags:
http://enewschannels.com/tag/four-seasons-compassion-for-life/

see the difference?

The little “pill” label for the “category title” on page is too small and not well representing the “index” of the content.

Post count: 1291

Hi,

The structure is the same on both cases – http://screencast.com/t/hIdtHGPwTmhttp://screencast.com/t/Ud4wP5nf8X4X – the css makes the difference, try the following – http://screencast.com/t/vIbTYuap

You could also place the breadcrumbs under the title like this – http://screencast.com/t/sfqSGxzRuIn

.category .td-category-header .entry-title span {
background-color: transparent;
color: #222;
font-weight: 600;
font-size: 24px;
font-family: 'Open Sans',arial,sans-serif;
}
.category .entry-crumbs{
display: block;
}

Thank you, Emil G.

  • This reply was modified 11 years by Emil G.
Post count: 9544

Thanks 🙂

Post count: 9544

of course, the breadcrumbs should be ABOVE the headline TITLE for the page …, just as on other pages 🙂

playing with it …

you can see how this might make sense to change for future version of theme … meaning keep same format as the author page and tag page “title” for the page, vs the “pill button” style when you’re actually on the category index itself.

🙂

  • This reply was modified 11 years by simchris.
  • This reply was modified 11 years by simchris.
Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.