-
AuthorPosts
-
defendhaiti Friend
defendhaiti
- Join date:
- February 2011
- Posts:
- 15
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
September 26, 2012 at 2:44 pm #180978Hello, I need to disable the Mega Menu on Teline IV. I don’t want to “display:none” it because it still appears in the code. I would like to remove it completely. Obviously I can’t delete the menu because it give structure to my site.
I can not find the module which holds the Mega Menu. Even the position “mega-item” can’t be found. So please, very please, tell me how I can remove it from my layout.
swissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
September 26, 2012 at 3:36 pm #468270It’s built into the base template.
Don’t fully understand – you say you want to remove it completely but then say you can’t delete it as it gives structure to the site????
If you just want to hide it so that you don’t have to restyle the css you can use visibility:hidden;
Otherwise you need to remove the mega js by changing the layout. Remove script calling the mega.js
Hope that helps
1 user says Thank You to swissa for this useful post
defendhaiti Frienddefendhaiti
- Join date:
- February 2011
- Posts:
- 15
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
September 26, 2012 at 3:41 pm #468272Yeah, I just don’t want it to appear in the template. But the menu has to exist, this I understand. Hiding it with CSS it still appears in the source code just not on the page. I would like it to not appear in the source code either.
Mega.js … this I can find, but where is it called to appear? That is what I am trying to find.
Thanks for the help so far swissa.swissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
September 26, 2012 at 3:55 pm #468275I don’t have Teline IV but as they are all T3 it should be the same.
Go to Extensions/Template Manager/Teline IV, go into layouts and clone the default and name it ‘nomenu’. Edit this and remove the script call to the mega.js or whatever it is called. Hit Save. On my example it is the first script called – <file>js/mega.rjd.js</file>
Then in Profiles you will need to scroll down to Layout Settings and make sure that you choose nomenu instead of default for the layout.
If you want to do the same with mobile layouts etc then you will need to clone them too and then assign them as here. Always make a clone – it allows you restore to the default if some idiot gives you the wrong advice!! 😀
-
defendhaiti Friend
defendhaiti
- Join date:
- February 2011
- Posts:
- 15
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
September 27, 2012 at 2:50 pm #468389There’s a different layout in Teline IV. I got the intended effect by disabling all the modules and “display:none;” the menu. Best I can do for now. It was slowing down my template really bad.
-
AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 2 voices, and was last updated by defendhaiti 12 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum