-
AuthorPosts
-
christofferl Friend
christofferl
- Join date:
- January 2011
- Posts:
- 233
- Downloads:
- 30
- Uploads:
- 101
- Thanks:
- 21
- Thanked:
- 2 times in 1 posts
May 16, 2017 at 1:08 pm #1034472Thanks Serg16. It is now working 🙂
serg16 Friendserg16
- Join date:
- December 2011
- Posts:
- 14
- Downloads:
- 66
- Uploads:
- 5
- Thanked:
- 1 times in 1 posts
May 16, 2017 at 1:16 pm #1034476Hi, christofferl.
I have had problem with custom.css.
You can try to insert this line in the /templates/ja_company/css/template.css.
Only temporarily, just to try!!!!christofferl Friendchristofferl
- Join date:
- January 2011
- Posts:
- 233
- Downloads:
- 30
- Uploads:
- 101
- Thanks:
- 21
- Thanked:
- 2 times in 1 posts
May 16, 2017 at 1:19 pm #1034477Hi again, I am not sure what you mean … I have the "floating menu" working fine at the moment.
serg16 Friendserg16
- Join date:
- December 2011
- Posts:
- 14
- Downloads:
- 66
- Uploads:
- 5
- Thanked:
- 1 times in 1 posts
May 16, 2017 at 1:21 pm #1034478Hi, christofferl.
Very perfect.serg16 Friendserg16
- Join date:
- December 2011
- Posts:
- 14
- Downloads:
- 66
- Uploads:
- 5
- Thanked:
- 1 times in 1 posts
May 16, 2017 at 1:28 pm #1034480Hi, christofferl.
I meant only that if won’t work with custom.css.
Good luck!serg16 Friendserg16
- Join date:
- December 2011
- Posts:
- 14
- Downloads:
- 66
- Uploads:
- 5
- Thanked:
- 1 times in 1 posts
May 16, 2017 at 4:33 pm #1034523Hi
The problem with the positioning is solved..t3-mainnav.affix { position: fixed; top: 35px; left: 0; width: 100%; z-index: 999; }
Thank you very much!
1 user says Thank You to serg16 for this useful post
November 29, 2017 at 4:02 am #1077582I would also like my main menu to be sticky at the top when you scroll down.
From this forum topic I created a custom.css file within the template folder (ie: /templates/ja_company) and added the below code .t3-topbar {
position: fixed;
width: 100%;
z-index: 999;
} I also added this code <nav id="t3-mainnav" class="wrap navbar navbar-default t3-mainnav" data-spy="affix" data-offset-top="150"> to – /tpls/blocks/mainnav.phpall code from the above mentioned forum post.
I have also looked at the header.php file in – /templates/ja_company/tpls/blocks as per the tutorial Configure Megamenu but the header.php file in JA Company does not have the "Main Navigation" code and this tutorial seems to be from 2012.
What have I missed?
This website is under development and will replace main domain once complete.
http://www.techinspect.techinspect.com.au/Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
November 29, 2017 at 6:50 am #1077641Hi
Open /css/custom.css file in the template folder and add below code.t3-mainnav.affix { position: fixed; top: 35px; left: 0; width: 100%; z-index: 999; }
save and check.
Regards
-
AuthorPosts
This topic contains 22 replies, has 4 voices, and was last updated by Pankaj Sharma 6 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum