T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Igor Cunha
  2. Vanity Monster Sherlock Holmes The Voice
  3. General Discussion
  4. Wednesday, 06 August 2014
  5.  Subscribe via email
Change this line in block mainnav. For t3_blank:

Old:


<nav id="t3-mainnav" class="wrap t3-mainnav navbar navbar-collapse-fixed-top">


New:

<nav id="t3-mainnav" class="wrap t3-mainnav navbar navbar-collapse-fixed-top" data-spy="affix" data-offset-top="500" >


Custom.css:

@media (min-width:768px) {
.t3-mainnav.affix-top{
position:absolute;
z-index: 1000;
width:100%;
}

.t3-mainnav {
position:relative;
top:-500px;
transition:0.5s ease;
-webkit-transition:0.5s ease;
}
}
.affix {
position: fixed;
top:0;
z-index: 10000;
width:100%!important;
}


How smooth the return of mainnav ?
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
Hi,

I have checked and it does not work property. The main menu is not displayed be default, when scrolling down, the menu is sticky at top.

To sticky main menu, please refer to the docs, it's very simple :)

http://t3-framework.org/documentation/menu-system.html#sticky-menu

Gardner.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you for verification Gardner. I'll continue with work, and if i have some news come back here. :)
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Yeah, anytime you need help :)
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.