-
AuthorPosts
-
October 17, 2012 at 4:35 am #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 Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 17, 2012 at 7:14 am #470333Hi
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
October 17, 2012 at 1:59 pm #470368Stork11 FriendStork11
- Join date:
- March 2011
- Posts:
- 2273
- Downloads:
- 0
- Uploads:
- 142
- Thanks:
- 55
- Thanked:
- 431 times in 393 posts
October 23, 2012 at 10:40 am #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.
1 user says Thank You to Stork11 for this useful post
AuthorPostsViewing 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
Change the Nav-menu Position
Viewing 4 posts - 1 through 4 (of 4 total)