test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • David Porré Friend
    #156235

    Hello,

    I would like to center the main menu (using mega menu), usually, I do this easily, but with this template, I can’t get it done.

    Could you please help me ?

    Hoping for answers, best regards,
    David aka Shapes

    Saguaros Moderator
    #362265

    Hello David aka Shapes !

    You need to fix the width of container menu to center the menu:
    you open the file: templates/ja_community_plus/css/menu/mega.css and find the following code:

    you find:
    [PHP].ja-megamenu { margin-left: 25px; }[/PHP]

    replace:
    [PHP]
    .ja-megamenu { margin: 0 auto; width:800px }

    [/PHP]

    in your template, you adjust the value 800 by other number

    David Porré Friend
    #362441

    Hello tienhc,

    I tried Your trick, but it didn’t work for me…
    This would work only if I set the exact width of my menu in the code, but I can’t do that, as the width of the menu changes regarding the computer used to visit the website.

    I gave all access informations in support ticket #TXF-995420 if you want to check some more…

    Hoping for answers, best regards,
    David aka Shapes

    David Porré Friend
    #364107

    Hello,

    I got this finally fixed with some help from the support, and some search in the forum.

    In the file “head.php”, I had to add :

    <script type="text/javascript">
    //<!]>
    </script>

    The “+ 5” is important for firefox mac !

    And in “mega.css” :

    .ja-megamenu {
    margin:0 auto;
    }
    .ja-megamenu ul.level0 {
    float:left;
    margin:0;
    padding:0;
    }

    It’s now perfect !

    Hope this will help,
    Best regards,
    David aka Shapes

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

This topic contains 4 replies, has 2 voices, and was last updated by  David Porré 14 years, 1 month ago.

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