-
AuthorPosts
-
Pankaj Sharma Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 27, 2016 at 3:37 am #944401Hi
I am afraid due the design concept of the main-nav , its not possible to make it sticky . Because sticky menu make the category menu also fix that overlap on the content when u scroll .if you are not using the right side category menu then u can apply the fix given in this thread to make the main nav sticky .
1 user says Thank You to Pankaj Sharma for this useful post
June 27, 2016 at 3:39 am #944402Hi,
Thanks for the help, yes I am not using the category menu so should be ok for me , but is it the same method for other position ? Let say the header bar above the menu.
Thanks.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 27, 2016 at 3:44 am #944405Hi
by above position ? If position menu is above , you will not get same view as the style is defined for specific position also you have a large height header in that case .June 27, 2016 at 4:05 am #944415Hi,
What I meant was i want the t3-header and t3-mainnav to be sticky on top , in order to do that I will just need to modify the script to add in the function for the t3-header right ?
And also I had try use the code but it seems like not working.
Thanks.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 27, 2016 at 5:09 am #944437Hi
I am there are three different blocks , topbar , header , main nav .
script is used so main nav is fixed and when u scroll it fixed on top , not on same position .
In order you want make all fixed , you need to make custom work in css .
Add these classes in custom.css file.t3-topbar { width: 100%; position: fixed; top: 0px; z-index: 99; } .t3-header { position: fixed; width: 100%; top: 40px; z-index: 99; background: #fff; } .t3-mainnav { position: fixed; width: 100%; z-index: 99; top: 140px; }
This way you can achieve this .
1 user says Thank You to Pankaj Sharma for this useful post
-
AuthorPosts
This topic contains 6 replies, has 2 voices, and was last updated by leonloi 8 years, 5 months ago.
The topic ‘Sitcky Header and Menu’ is closed to new replies.