Submenu centered, with responsive width
Hello
Do you have suggestion what's the best way to:
1. center submenu so that's its always centered below main menu?
Atm I'm using negative X, but this doesn't look good in responsive layout
2. How to make submenu width responsive? Assign css and use mediaqueries?
This is also related to 1st question.
3. Make submenu width the same width like main menu? Its also related to questions 1 and 2
Thanks.
Regards
Do you have suggestion what's the best way to:
1. center submenu so that's its always centered below main menu?
Atm I'm using negative X, but this doesn't look good in responsive layout
2. How to make submenu width responsive? Assign css and use mediaqueries?
This is also related to 1st question.
3. Make submenu width the same width like main menu? Its also related to questions 1 and 2
Thanks.
Regards
by Krx
Please Log in or Create an account to join the conversation.
Replied by ced1870 on topic Submenu centered, with responsive width
Posted 7 years 4 months ago #39367
Hi
you can use the layout "fullwidth" that you can select in the advanced options of the module. It will be fullwidth of the menu, from left to right, in fact centered
you can also learn about mediaqueries with my free turorial for mobile
www.joomlack.fr/en/joomla-documentations...e-joomla-for-mobiles
CEd
you can use the layout "fullwidth" that you can select in the advanced options of the module. It will be fullwidth of the menu, from left to right, in fact centered
you can also learn about mediaqueries with my free turorial for mobile
www.joomlack.fr/en/joomla-documentations...e-joomla-for-mobiles
CEd
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
Hi
This is not the solution because:
- I do not want all submenus to be in full width, only specific ones with many items.
1. On few top level ones I need to have submenus in full width
2. on few ones I need to have submenus width 70% percent of available space and centered
3. and I need mediaqueries also on few of them only. Not on all of them
Thanks
Regards
This is not the solution because:
- I do not want all submenus to be in full width, only specific ones with many items.
1. On few top level ones I need to have submenus in full width
2. on few ones I need to have submenus width 70% percent of available space and centered
3. and I need mediaqueries also on few of them only. Not on all of them
Thanks
Regards
by Krx
Please Log in or Create an account to join the conversation.
Replied by ced1870 on topic Submenu centered, with responsive width
Posted 7 years 4 months ago #39373
with maximenu params you can apply the fullwidth class to only one submenu if you want
else you can use my tutorial
else you can use my tutorial
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
Time to create page: 0.667 seconds