Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • maceituno Friend
    #181482

    How I can change the nav menu to another position, such position-7, keeping the mega menu, I try changing positions
    <block name=”mainnav” type=”mainnav” main-inner=”1″></block> in layout.xml inside <blocks name=”middle” …>, but had no effect.

    thanks.

    pavit Moderator
    #470333

    Hi

    You can change the main menu position using the LAYOUT panel in your template manager

    For example: Now you have your default layout in this way

    <?xml version="1.0" encoding="utf-8"?>
    <layout name="desktop">
    <!--Extra css load for this layout-->
    <stylesheets>
    <file>css/template.css</file>
    <file media="only screen and (max-width:719px)">css/layout-mobile.css</file>
    <file media="only screen and (max-width:479px)">css/layout-mobile-port.css</file>
    <file media="only screen and (min-width:720px) and (max-width: 985px)">css/layout-tablet.css</file>
    </stylesheets>
    <blocks name="top" style="xhtml">
    <block name="absolute" type="modules" style="raw">absolute</block>
    <block name="top-panel" type="modules" style="raw" main-inner="1">top-panel</block>
    <block name="header" type="header" main-inner="1"></block>
    <block name="mainnav" type="mainnav" main-inner="1"></block>
    <block name="cpanel" type="usertools/cpanel"></block>
    <block name="masshead" style="raw" no-main="1">masshead</block>
    <block name="slideshow" style="raw">slideshow</block>
    <block name="topsl" type="spotlight">user1, user2, user3, user4</block>
    <block name="topsl1" type="spotlight">user5, user6, user7, user8</block>
    <block name="topsl2" type="spotlight">user9, user10, user11, user12</block>
    </blocks>
    <blocks name="middle" colwidth="25">
    <block name="content-mass-top">content-mass-top</block>
    <block name="right1">position-7</block>
    <block name="right2">position-5</block>
    </blocks>
    <blocks name="bottom" style="xhtml">
    <block name="botsl" type="spotlight">user13, user14, user15, user16</block>
    <block name="botsl1" type="spotlight">user17, user18, user19, user20</block>
    <block name="botsl2" type="spotlight">user21, user22, user23, user24</block>
    <block name="navhelper" type="navhelper"></block>
    <block name="footer" type="footer"></block>
    </blocks>
    </layout>

    You can move your main menu for example below the slideshow then copy the string

    <block name="mainnav" type="mainnav" main-inner="1"></block>
    below the slideshow string
    so your new default layout will be

    <?xml version="1.0" encoding="utf-8"?>
    <layout name="desktop">
    <!--Extra css load for this layout-->
    <stylesheets>
    <file>css/template.css</file>
    <file media="only screen and (max-width:719px)">css/layout-mobile.css</file>
    <file media="only screen and (max-width:479px)">css/layout-mobile-port.css</file>
    <file media="only screen and (min-width:720px) and (max-width: 985px)">css/layout-tablet.css</file>
    </stylesheets>
    <blocks name="top" style="xhtml">
    <block name="absolute" type="modules" style="raw">absolute</block>
    <block name="top-panel" type="modules" style="raw" main-inner="1">top-panel</block>
    <block name="header" type="header" main-inner="1"></block>
    <block name="cpanel" type="usertools/cpanel"></block>
    <block name="masshead" style="raw" no-main="1">masshead</block>
    <block name="slideshow" style="raw">slideshow</block>
    <block name="mainnav" type="mainnav" main-inner="1"></block> <-----
    <block name="topsl" type="spotlight">user1, user2, user3, user4</block>
    <block name="topsl1" type="spotlight">user5, user6, user7, user8</block>
    <block name="topsl2" type="spotlight">user9, user10, user11, user12</block>
    </blocks>
    <blocks name="middle" colwidth="25">
    <block name="content-mass-top">content-mass-top</block>
    <block name="right1">position-7</block>
    <block name="right2">position-5</block>
    </blocks>
    <blocks name="bottom" style="xhtml">
    <block name="botsl" type="spotlight">user13, user14, user15, user16</block>
    <block name="botsl1" type="spotlight">user17, user18, user19, user20</block>
    <block name="botsl2" type="spotlight">user21, user22, user23, user24</block>
    <block name="navhelper" type="navhelper"></block>
    <block name="footer" type="footer"></block>
    </blocks>
    </layout>

    Hope that helps

    Regards

    maceituno Friend
    #470368

    what you tell me, helps me to leave it as the image attached?


    1. menu_position_r1_c1
    Stork11 Friend
    #470879

    <em>@maceituno 342680 wrote:</em><blockquote>what you tell me, helps me to leave it as the image attached?
    </blockquote>
    Hello maceituno,

    T3 Mega menu is only displayed horizontally on top. If you would like to show it in vertical layout, you should use Joomla menu.

    Regards.

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

This topic contains 4 replies, has 3 voices, and was last updated by  Stork11 12 years ago.

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