Jump to content
thirty bees forum
  • 0

Show header outside of actual page


Question

Posted (edited)

I’m working on a custom theme based on the niara theme. I’d like to show the category header (category-info section) above the center-, right- and left-columns. The complete category header (banner image + h1) shall span over the complete page, not only within the center-column. How to achieve that?

I have two possible approaches in mind, but not sure how to accomplish:

  1. Creating a new block module which contains the header (basically the complete category-info section of category.tpl).
  2. Move the hooks for left and right columns into the category.tpl.

Here the current layout (with a border around the center column):

Current layout

And here the desired layout (again, with the center column highlighted, but the header (banner pic + title) are outside of the center column, above):

Desired layout

Any ideas?

Edited by Manuel
added graphics

2 answers to this question

Recommended Posts

  • 0
Posted

If its only category page you are looking for than you can probably do some hack in header.tpl something like.

{if $page_name === "category"}

<div class="col-xs-12">..... whatever you need from category.tpl file...</div>

{/if}

  • Haha 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...