Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Ali Saglam Friend
    #181696

    Hi, Im using JA_Universitas, its really a nice template. I looked a little bit in the mega.css but Im unsure if it is possible.
    I’d like to have my megamenu with different background level colors.
    Level0 = Level1=color1
    Level2 = color2
    Level3 = color3
    Level4=color4 ..
    You can see on attachement, how I’d like to change it.


    1. megamenu-_-levelcolor
    Ninja Lead Moderator
    #471165

    Mega menu default could not support about this but you try with my solution
    This is example mega menu 3level
    <blockquote>Open templates/ja_university/css/menu/mega.css file</blockquote>
    add new script below

    .megamenu .level1 {
    background: red;
    }
    .megamenu .level2 {
    background: white;
    }
    .megamenu .level3 {
    background: blue;
    }
    ul.megamenu {
    margin:0px !important;
    }

    continue with change css file
    <blockquote>Open templates/ja_university/js/menu/mega.js file</blockquote>
    from

    options: {
    slide: 0, //enable slide
    duration: 300, //slide speed. lower for slower, bigger for faster
    fading: 0, //Enable fading
    bgopacity: 0.9, //set the transparent background. 0 to disable, 0<bgopacity<1: the opacity of the background
    delayHide: 500,
    direction: 'down',
    action: 'mouseenter', //mouseenter or click
    hidestyle: 'normal',
    offset: -5,
    fixArrow: false
    }

    change to

    options: {
    slide: 0, //enable slide
    duration: 300, //slide speed. lower for slower, bigger for faster
    fading: 0, //Enable fading
    bgopacity: 0.9, //set the transparent background. 0 to disable, 0<bgopacity<1: the opacity of the background
    delayHide: 500,
    direction: 'down',
    action: 'mouseenter', //mouseenter or click
    hidestyle: 'normal',
    offset: 0,
    fixArrow: false
    }

    Ali Saglam Friend
    #471297

    Worked great, thanks!!!

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

This topic contains 3 replies, has 2 voices, and was last updated by  Ali Saglam 12 years ago.

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