How to hide gkContent on 1st page (Header) ?
Rate this topic: 1.00 out of 6 based on 1 vote(s)
- GK User
- Wed Mar 15, 2017 4:24 pm
- Reply with quote
- Report this post
Hi
on my website I'd like to display only
- mainmenu
- the header module (with its image background)
- footer
but I can see a white area just before the footer. it corresponds to section id "gkContent"
is there a solution to hide it only for the welcome page (Header) ?
Thanks
on my website I'd like to display only
- mainmenu
- the header module (with its image background)
- footer
but I can see a white area just before the footer. it corresponds to section id "gkContent"
is there a solution to hide it only for the welcome page (Header) ?
Thanks
-
- Gold Boarder
- GK User
- Thu Mar 16, 2017 11:18 am
- Reply with quote
- Report this post
Solved (I'm really not sure this is the fastest solution but it works)
make a copy of the template folder and rename it as "home-template" (for example)
- rename any occurence of "gk_simplicity" you can find into file templateDetails.xml to "home-template"
- copy in language folder the file "en-GB.tpl_gk_simplicity.ini" and change it as "en-GB.tpl_home-template.ini"
- discover the new template thanks to the Joomla admin tool
- Open it and assign it to home page only
- comment out in HTML/layouts/default.php from line 98 (just after "</header>")
to line 147 (just before "<?php if($this->API->modules('bottom1')) : ?>"
- then copy paste Style from the original template to the copy (fonts, features, advanced, etc.)
Doing that you can have the home page with only the mainmenu, the header module, and the footer
make a copy of the template folder and rename it as "home-template" (for example)
- rename any occurence of "gk_simplicity" you can find into file templateDetails.xml to "home-template"
- copy in language folder the file "en-GB.tpl_gk_simplicity.ini" and change it as "en-GB.tpl_home-template.ini"
- discover the new template thanks to the Joomla admin tool
- Open it and assign it to home page only
- comment out in HTML/layouts/default.php from line 98 (just after "</header>")
to line 147 (just before "<?php if($this->API->modules('bottom1')) : ?>"
- then copy paste Style from the original template to the copy (fonts, features, advanced, etc.)
Doing that you can have the home page with only the mainmenu, the header module, and the footer
-
- Gold Boarder
- teitbite
- Sat Mar 18, 2017 11:22 am
- Reply with quote
- Report this post
Hi
It is a solution of course, but there is an easier one. It's described here: https://www.gavick.com/documentation/jo ... omla-pages
It is a solution of course, but there is an easier one. It's described here: https://www.gavick.com/documentation/jo ... omla-pages
-
- Moderator
3 posts
• Page 1 of 1