Submenu centered, with responsive width

  • Krx
  • Krx's Avatar Offline Topic Author
  • New Member
  • New Member
  • Posts: 15
  • Thanks: 0

Submenu centered, with responsive width was created by Krx

Posted 7 years 4 months ago #39362
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
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

Joomlack Webmaster and Developer

by ced1870

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

  • Krx
  • Krx's Avatar Offline Topic Author
  • New Member
  • New Member
  • Posts: 15
  • Thanks: 0

Replied by Krx on topic Submenu centered, with responsive width

Posted 7 years 4 months ago #39372
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
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 :)

Joomlack Webmaster and Developer

by ced1870

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

Time to create page: 0.686 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 744 guests and no members online