Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • andbeyond Friend
    #683590

    I am using t3_bs3_blank template.

    When i set the mega-menu dropdown to justify it fills the entire window width.

    I want it to be as wide as the menu container width (like the purity iii template where if you justify the menu it is the width of the main menu)

    how would I do this?

    Adam M Moderator
    #683724

    Hi @andbeyond,

    May I know your site url and temporary admin account via private reply so I can have a look first ?

    Adam M Moderator
    #748463

    Hi @andbeyond,

    May I know your site url and temporary admin account via private reply so I can have a look first ?

    andbeyond Friend
    #683958

    Unfortunately I can’t give log-in details. I am at the moment developing on a localhost.

    I found a partial solution on another thread*, which is to modify custom.css with this :
    .mega-dropdown-inner {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    }

    The problem with that is I am now having some difficulties modifying the css for the items in the mega dropdown. The .mega-dropdown-inner class seems to applies to all the menu groups. That means when I put a shadow on the main menu container that shadow also applies to all sub-menu groups.

    This is the thread I mentioned above:
    http://www.joomlart.com/forums/topic/t3-mega-menu/

    andbeyond Friend
    #748553

    Unfortunately I can’t give log-in details. I am at the moment developing on a localhost.

    I found a partial solution on another thread*, which is to modify custom.css with this :

    .mega-dropdown-inner {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    }

    The problem with that is I am now having some difficulties modifying the css for the items in the mega dropdown. The .mega-dropdown-inner class seems to applies to all the menu groups. That means when I put a shadow on the main menu container that shadow also applies to all sub-menu groups.

    This is the thread I mentioned above:
    http://id.joomlart.com/forums/topic/t3-mega-menu/

    andbeyond Friend
    #683985

    <em>@andbeyond 492272 wrote:</em><blockquote>
    The problem with that is I am now having some difficulties modifying the css for the items in the mega dropdown. The .mega-dropdown-inner class seems to applies to all the menu groups. That means when I put a shadow on the main menu container that shadow also applies to all sub-menu groups.
    </blockquote>

    I fixed this by creating an extra class through the mega-menu options in the backend of the template. I styled the css like this (mega-plus is the class i created):

    .mega-plus > .mega-dropdown-inner {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    background: #fff
    box-shadow: 0 6px 12px #666
    }

    That way box-shadow, background etc are specific to the menu container.

    andbeyond Friend
    #748580

    <em>@andbeyond 492272 wrote:</em><blockquote>
    The problem with that is I am now having some difficulties modifying the css for the items in the mega dropdown. The .mega-dropdown-inner class seems to applies to all the menu groups. That means when I put a shadow on the main menu container that shadow also applies to all sub-menu groups.
    </blockquote>

    I fixed this by creating an extra class through the mega-menu options in the backend of the template. I styled the css like this (mega-plus is the class i created):

    .mega-plus > .mega-dropdown-inner {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 6px 12px #666;
    }

    That way box-shadow, background etc are specific to the menu container.

    Adam M Moderator
    #684061

    Hi @andbeyond,

    Glad to hear that you managed to sort it out. If you still have any question, feel free to let me know.

    Adam M Moderator
    #748629

    Hi @andbeyond,

    Glad to hear that you managed to sort it out. If you still have any question, feel free to let me know.

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

This topic contains 9 replies, has 2 voices, and was last updated by  Adam M 9 years, 1 month ago.

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