Tagged: Topbar New Module Position
-
AuthorPosts
-
November 25, 2016 at 7:50 pm #989811
Hello,
i try to archive that my navigation bar its 2 lines high and to be centered on the top of the menu. It is a module thats appears now under the normal menu.
I got it to work with the guide but somehow it’s under the navigation on the top and it’s not sticky.
Take a look: http://www.f-gallus.de
But it should be like here: http://www.t3-framework.org/documentation/bs3-layout-system#add-position
They gave the Menu a distance with top:
#t3-mainnav { top: 80px; }
i guess in the custom.css thats in the css folder of the template. But how there got to fix the possition above the menu – i can´t figure out 🙁
I entered the social-mainnav to the xml-file:
<position>head-search</position> <position>social-mainnav</position> <position>mainnav</position> <position>navhelper</position>
And in the header.php-file:
<jdoc:include type="modules" name="<?php $this->_p('social-mainnav') ?>" /> <header id="t3-mainnav" class="wrap navbar navbar-default navbar-fixed-top t3-mainnav">
It’s would be great if I got some help what I doing wrong.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
November 28, 2016 at 2:59 am #990213This reply has been marked as private.November 28, 2016 at 11:31 am #990405This reply has been marked as private.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
November 29, 2016 at 4:20 am #990718Hi
I add the new classes and script in your header.php
Now add below code in /css/custom.css filebody{padding-top:0px!important;} .off-canvas-toggle { position: absolute!important;} .header.affix {width: 100%; z-index: 999; top: 0px;} .header{webkit-transition: top 0.3s; -o-transition: top 0.3s; transition: top 0.3s; z-index: 1001;}
attached is header.php
November 29, 2016 at 1:50 pm #990898This reply has been marked as private.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
November 29, 2016 at 4:11 pm #990944This reply has been marked as private. -
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by Pankaj Sharma 7 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum