remove dropdown menu in Mollio Type-C template
#1
Posted 17 July 2006 - 10:06 AM
I've searched the forum to find the answer for my question but did not find it. So here's my question.
I am using the Mollio TypeC template in a project. It is working fine but the only thing i don't wanne have is the dropdown menu in the horizontal menu. I only wanna use the sidemenu for this project. Is it possible to remove this dropdown menu? And can anybody tell me how to do this?
Second question: is it possible to align the whole template to the center, like this site: NavNak Design? How can i do this?
I appreciate your help.
Thank you
Roy
#2
Posted 17 July 2006 - 12:56 PM
Well to remove the main menu horizontal drop down menu from your pages, try removing the line:
[!MollioMainMenu!]from your template.
The Mollio templates aren't designed to be centred. They are designed to use the page width available.
I guess there would be nothing to stop you imposing your own centred design onto the template by making the appropriate mods to the CSS files and the template.
Best Regards, Lloyd Borrett.
Edited by lloyd_borrett, 17 July 2006 - 12:57 PM.
#3
Posted 17 July 2006 - 03:43 PM
G'day Roy,
Well to remove the main menu horizontal drop down menu from your pages, try removing the line:[!MollioMainMenu!]from your template.
The Mollio templates aren't designed to be centred. They are designed to use the page width available.
I guess there would be nothing to stop you imposing your own centred design onto the template by making the appropriate mods to the CSS files and the template.
Best Regards, Lloyd Borrett.
Hi Lloyd,
Thank you for your quick reply.
I removed the code you discribed in the template but that was not what I meant. The Whole menu dissapeared. The only things i wanna remove are the sublinks which appear when you hover over the main items. The drop down menu.
I solved the "problem" with a little workaround. I removed the style:
#nav li:hover ul, #nav li.sfhover ul {
left: 0;
z-index:99999;
}The mainmolliomenu still exists in the template but without de dropdown.
I am sorry to hear that it is not possible to center the Mollio template. But there must be also a CSS mod for this.
Thank you
Roy
#4
Posted 17 July 2006 - 03:52 PM
Try using [[MollioSecondaryMenu?MSM_levels=1]]...The only things i wanna remove are the sublinks which appear when you hover over the main items. The drop down menu.
#5
Posted 17 July 2006 - 04:14 PM
Try using [[MollioSecondaryMenu?MSM_levels=1]]...
I allready did that also, but with the same result.
#6
Posted 17 July 2006 - 06:06 PM
Yes, that would be for the menu on the left side, I guess.I allready did that also, but with the same result.
Navnak, do you want to generate the top horizontal menu bar dynamically?
If not, you could hard-code it into your template.
Otherwise I guess the following should work, but I haven't tried it though:
Instead of [ ! MollioMainMenu ! ] use: [ ! MollioMainMenu?MMM_levels=1 ! ] (without the spaces)
If it works, you could make this default by going to the manager>manage resources>manage snippets and pick MollioMainMenu.
In this snippet you'll find:
// $maxLevels [ int ] // Maximum number of levels to include. The default 2 is the number // of levels supported by the CSS styles. // A value of 0 will allow all levels. // Also settable with snippet variable MMM_levels: // [[MollioMainMenu?MMM_levels=2]] $maxLevels = 2;and change this last line to $maxLevels = 1;
#7
Posted 17 July 2006 - 07:09 PM
Yes, that would be for the menu on the left side, I guess.
Navnak, do you want to generate the top horizontal menu bar dynamically?
If not, you could hard-code it into your template.
Otherwise I guess the following should work, but I haven't tried it though:
Instead of [ ! MollioMainMenu ! ] use: [ ! MollioMainMenu?MMM_levels=1 ! ] (without the spaces)
If it works, you could make this default by going to the manager>manage resources>manage snippets and pick MollioMainMenu.
In this snippet you'll find:// $maxLevels [ int ] // Maximum number of levels to include. The default 2 is the number // of levels supported by the CSS styles. // A value of 0 will allow all levels. // Also settable with snippet variable MMM_levels: // [[MollioMainMenu?MMM_levels=2]] $maxLevels = 2;and change this last line to $maxLevels = 1;
No the top horizontal menu is dynamically generated. I will try this and will let you know. For now I 'am happy with the removal of the style, you can see in the above discussion. Right now i am trying to put the whole site in the center of the screen included with the Mollio Template typeC.
Thank you
Roy
#8
Posted 17 July 2006 - 07:29 PM
#9
Posted 17 July 2006 - 09:20 PM
Hi there,
I've searched the forum to find the answer for my question but did not find it. So here's my question.
I am using the Mollio TypeC template in a project. It is working fine but the only thing i don't wanne have is the dropdown menu in the horizontal menu. I only wanna use the sidemenu for this project. Is it possible to remove this dropdown menu? And can anybody tell me how to do this?
Second question: is it possible to align the whole template to the center, like this site: NavNak Design? How can i do this?
I appreciate your help.
Thank you
Roy
Navnak,
It's possible to fix the width by replaceing this line:
#wrap {min-width:770px;max-width:1200px;margin: 0 auto;position:relative}...with this line:
#wrap {width:900px;margin: 0 auto;position:relative}under this heading, in your main.css file
/* LAYOUT - main body of page */
You can play with the 900 width to get the width you need...
hope this helps..
Regards,
#10
Posted 18 July 2006 - 03:12 PM
Navnak,
It's possible to fix the width by replaceing this line:#wrap {min-width:770px;max-width:1200px;margin: 0 auto;position:relative}
...with this line:#wrap {width:900px;margin: 0 auto;position:relative}
under this heading, in your main.css file/* LAYOUT - main body of page */
You can play with the 900 width to get the width you need...
hope this helps..![]()
Regards,
The above code is exactly the same code i used in the main.css file, except that the width is 870px. It is very important for me to find a solution for the "center" problem. I am also start a little research for the mollio home page (thanks vw53a), because that page is centered. and that is exactly what i want with my project.
The second concern is that my client suddenly wants a multi language site (dutch/english/german). Is there a simple way to get this done?
Anyway, thanks for your help everybody.
#11
Posted 18 July 2006 - 04:02 PM
The second concern is that my client suddenly wants a multi language site (dutch/english/german). Is there a simple way to get this done?
Please don't mix issues up. And better not start a new topic on this one, because there's dozens of discussions on this topic.
#12
Posted 18 July 2006 - 05:46 PM
#13
Posted 19 July 2006 - 06:39 AM
Thanks Ralph. I will do that.
Roy
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











