Site logo

Archived topic

Unique header sections on category pages

8 replies · Started by Lewis on May 12, 2017

Viewing posts 1–9 of 9

Hi Lewis,

Yup that should still be the best/only way to do it.

Let us know if you need more info :)

Hi,

I've taken the code of the above answer and modified it to work for me. However my issue is that I would like to display the header using the theme's "Page Header" way. But this will be too much of a hassle if it uses a lot of inline CSS (copy pasting just the markup won't be enough).

Any ideas?

To better explain the scenario:

I have a site using GP's built-in page header on every page, each page with its own unique header. I want to have two post categories, "News" and "Knowledge Base". For each post category, I want to have a common header for all posts which belong to that category.

I have yet to find a simple way to do this so if there's a simple solution that escapes me let me know.

Unfortunately there's no simple solution for that right now. It would involve building the HTML and CSS yourself.

There are improvements to Page Header planned that will make this kind of thing much, much easier.

Hi Tom,

Thank you for your answer. Do you have an ETA for this? I am asking to see if I can wait or if I should find an alternative.

Thanks!

For now I would find an alternative like building the HTML/CSS.

The Page Header re-build is a big job, so it likely won't be ready for a couple versions.

OK Tom, thank you for your time.

No problem, if you have trouble making progress on your code, feel free to let me know :)

This archived topic is closed to new replies.