Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • matwes Friend
    #166989

    Hi,
    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 Friend
    #404264

    Hi,
    You remove this code from templatesja_graphiteblocksheader.php

    <div id="ja-mainnav">
    <?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (); ?>
    </div>

    – Clean cache

    matwes Friend
    #404297

    Hi, 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


    1. ScreenSnapz
    matwes Friend
    #404312

    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.

    khoand Friend
    #404322

    Could you give me a link to your page as you said?

    matwes Friend
    #404326

    It’s on a local server. I’m sorry if I was unclear about that.

    khoand Friend
    #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
    }

Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 2 voices, and was last updated by  khoand 13 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum