Menu in Header hides Category blog title

September 2015 Joomla Template
GK User
Sat Nov 05, 2016 12:40 pm
Hi
I have put a horizontal menu in the Header of Technews, with your help, as you gave me some custom code to create this.
However, it seems that a module in this position hides the Title and info block of articles shown by Category blog mode. I imagine there is an override for this?
Relevant page is here:

http://www.clubmeal.co.uk/location/sout ... ast-sussex

Many thanks
User avatar
Expert Boarder

teitbite
Wed Nov 09, 2016 9:23 am
Hi

Can You please explain one more time what You have in mind? Possibly with some screenshots. I can see no header being covered.
User avatar
Moderator

GK User
Tue Nov 22, 2016 7:39 pm
Hi, and apologies for the big delay in replying.

Okay, couple of screen shots which should clarify the issue;you can see in Header 2 the menu is in position and there is no category title above the articles in blog format. In the second image, Header 3, I've just unpublished the menu and the category title block and description reappears.

Thanks
User avatar
Expert Boarder

teitbite
Wed Nov 30, 2016 1:55 pm
Hi

Now I understand :) Header module position was designed that way. By default header is shown which is taken from article, but You have an option to replace the header with custom html module. If You wish to show something else in this place I'm afraid You will have to create a new module position above this one.

Just edit /layout/default.php and add this:

Code: Select all
            <?php if($this->API->modules('customheader')) : ?>
            <div id="gkHeaderMod" class="gk-clearfix">
               <jdoc:include type="customheader" name="header" style="none" />
            </div>
            <?php endif; ?>


above:

Code: Select all
            <?php if($this->API->modules('header') && $item_id != $error_item_id) : ?>
            <div id="gkHeaderMod" class="gk-clearfix">
               <jdoc:include type="modules" name="header" style="none" />
            </div>
            <?php endif; ?>


than You will be able to use "customheader" module position.
User avatar
Moderator

GK User
Thu Dec 01, 2016 11:24 am
Hi
Thank you very much. That was pretty much what I thought, and many thanks for the code suggestion. Great support as always. :)
User avatar
Expert Boarder

teitbite
Thu Dec 08, 2016 10:19 am
Hi
Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
User avatar
Moderator


cron