Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • jessy Friend
    #150565

    hello together

    I like your template since december 09, but now i have a small, but for me important problem.

    In the last three weeks was my submenu centred under the mainmenu item.
    Three days ago, i’ve tried the different menus and the different layouts in the template configuration.
    After the test i’ve all settings reseted. And since this time are my submenues not anymore centered.

    Can me tell somebody, what i have do wrong? I can’t see settings where i could change the position of the submenu.

    You can see my problem on the small screenshot. the red line ist the actually position and the blue line marks what i want back. the text module in this example should be in the midle, exactly under the “Web 2.0” main menu item.

    kind regards Jessy


    1. menuklein
    toymaker Friend
    #341715

    My guess is that you “thought” you had it centered at some point, but it was probably because you had less items on your menu or you could have been playing with the templates width.
    I dont know of any “easy to change” configuration that will let you center the submenu pane. You could probably achieve that hacking the.js files… but that would require some coding experience.

    Cheers,
    Gabriel

    jessy Friend
    #341795

    <em>@toymaker 176246 wrote:</em><blockquote>My guess is that you “thought” you had it centered at some point</blockquote>

    Hi Gabriel

    Thank you for your answer. But no, i don’t “thougt” my menu was centred. My menu was three weeks centred, and i’ve configured my moduls in the mega menu exactly to the position of the mainmenu item (allways the description of the possiblities in the different submenus).

    I’ve worked for three weeks with a centred subemnu, and i have a lot of friends, which saw this.

    I work on a netbook with 1024xp display resolution. and my menus was allways visible, now are three of my submenus out of the visible area and i get a horizontal scrollbar…

    I haven’t changed the resolution, cause i have just 1024px, what should i do with other width setting? All things i have done, was changing the menu types and the layout (left-main-right) and absolutly nothing else. And my menu items are the same since more than two weeks.

    If I can’t find a solution in the next two or three days, so i have to change to another template. But I would not change…

    Other Idea? :((

    toymaker Friend
    #341804

    ok… i looked into it a little further…
    the margins are set in a dynamic fashion, BUT you could try playing around with left positioning.
    Go to mega.css line 91 or so…


    .ja-megamenu li.mega .childcontent {
    display:block;
    height:auto;
    position:absolute;
    left:300px !important; /* add this line and make it important */
    }

    This will probably break if you use 3 wide columns… but, it does the trick.

    you can also use % based positioning like this

    left:30% !important;

    Is I told you before, the positioning of the container comes from a math formula inside the mega.js file. You could modify that file to get a bullet proof center positioning, and that would be the most elegant solution, but im just trying to guess what you could’ve change that made your container centered before.

    Let me know if this helps…
    Gabriel

    jessy Friend
    #341873

    <em>@toymaker 176346 wrote:</em><blockquote>ok… i looked into it a little further…
    the margins are set in a dynamic fashion, BUT you could try playing around with left positioning.
    Go to mega.css line 91 or so…
    </blockquote>

    good morning

    thank you very much for your effort. i will try your solution tonight and i give you a feedback soon as possible.

    jessy

    toymaker Friend
    #341957

    Let me know if it works as you expect.

    Peace,
    Gabriel

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

This topic contains 6 replies, has 2 voices, and was last updated by  toymaker 14 years, 7 months ago.

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