-
AuthorPosts
-
matwes Friend
matwes
- Join date:
- December 2010
- Posts:
- 47
- Downloads:
- 0
- Uploads:
- 15
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
August 2, 2011 at 8:53 pm #166989Hi,
I’ve tried to find an answer on how to disable the main menu in the top of the site. There are a solution for Ja Teline which not apply for JA Graphite. You should be able to remove the main nav block from the template xml-files but there are only a header block which removes the logo, styling etc. I can’t really see where to go from here :((khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
August 3, 2011 at 4:46 am #404264Hi,
You remove this code from templatesja_graphiteblocksheader.php
<div id="ja-mainnav">
<?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (); ?>
</div>
– Clean cachematwes Friendmatwes
- Join date:
- December 2010
- Posts:
- 47
- Downloads:
- 0
- Uploads:
- 15
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
August 3, 2011 at 8:01 am #404297Hi, I’ve tried what you suggests but that unfortunately results in the header disappearing with all styling. I have also tried to keep the DIV tag with and without the id only removing the php code but with little luck. This puzzles me…
Best regards,
Matt
matwes Friendmatwes
- Join date:
- December 2010
- Posts:
- 47
- Downloads:
- 0
- Uploads:
- 15
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
August 3, 2011 at 8:39 am #404312Problem may be solved. In the template.css file I did this:
#ja-header .main {
padding-bottom: 50px;
}Originally this was set to zero. Now the header is visible again.
#ja-mainnav {
float: right;
display: none; (I added this line to remove the menu)
}If anyone has another option or think this may cause unwanted side effects, please let me know.
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
August 3, 2011 at 9:28 am #404322Could you give me a link to your page as you said?
matwes Friendmatwes
- Join date:
- December 2010
- Posts:
- 47
- Downloads:
- 0
- Uploads:
- 15
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
August 3, 2011 at 9:32 am #404326It’s on a local server. I’m sorry if I was unclear about that.
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
August 3, 2011 at 10:31 am #404338<em>@matwes 257302 wrote:</em><blockquote>Problem may be solved. In the template.css file I did this:
#ja-header .main {
padding-bottom: 50px;
}Originally this was set to zero. Now the header is visible again.
#ja-mainnav {
float: right;
display: none; (I added this line to remove the menu)
}If anyone has another option or think this may cause unwanted side effects, please let me know.</blockquote>
I agree to your opinion.You change this code :
#ja-header .main {
padding-bottom: 50px; < change : 40px
}1 user says Thank You to khoand for this useful post
AuthorPostsViewing 7 posts - 1 through 7 (of 7 total)This topic contains 7 replies, has 2 voices, and was last updated by khoand 13 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Disable main menu
Viewing 7 posts - 1 through 7 (of 7 total)