Submenu centered, with responsive width

More
8 years 3 months ago #39362 by Krx
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

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #39367 by ced1870
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

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #39372 by Krx
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

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #39373 by ced1870
with maximenu params you can apply the fullwidth class to only one submenu if you want
else you can use my tutorial :)

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.214 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 614 guests and no members online