Is there a way to center the menu

Looking for a way to center the main menu items on the screen.  As is, seems the menu needs full width for the submenus to have full width.

9 answers

Profile photo of Ziven Staff 100280.00 $tone February 21, 2018
Public

Hi There,
This will need customization to center the main menu items. Please provide me the following credentials, I will apply workaround directly on your site: 

  • Admin url of your site
  • SSH and admin credentials of your M2 instance
  • FTP credentials.

Regards,
Ziven

#1
Profile photo of Ziven Staff 100280.00 $tone March 14, 2018
Public

Hi There,
I have applied a tweak to make the main nav to be centered: https://www.dropbox.com/s/mue1s44j8k0qk35/2018-03-14_09-53-30.png?dl=0
Please let me know if that’s what you expect? 
For your info on the file that edited: /public_html/app/design/frontend/Conscio/hisglassworks/Ubertheme_UbMegaMenu/web/css/source/module/_horizontal.less
Best Regards,
Ziven

#3
Profile photo of Ziven Staff 100280.00 $tone March 15, 2018
Public

Hi there,
I have updated further the file /public_html/app/design/frontend/Conscio/hisglassworks/Ubertheme_UbMegaMenu/web/css/source/module/_horizontal.less to set center-alignment for the menu.
Please take a look if this is what you’re looking for: https://www.dropbox.com/s/i3atn4v2vbgap3i/2018-03-15_08-48-12.png?dl=0
Best Regards,
Ziven.

#5
Profile photo of hisglassworks 170.00 $tone March 15, 2018
Public

Hi Ziven, Thanks!  The mega menu dropdown is looking a lot better.  I’m wondering though… can the main nav be centered as well? directly below the logo (EXPLORE LEARN SUPPORT SHOP that’s currently in the grey bar)?  

#6
Profile photo of ubdev Staff 98150.00 $tone March 19, 2018
Public

Hi there, 
Glad it helps. 
We close the ticket for now. Please submit a new ticket if you have additional question.
Regards,
Ubertheme team

#9

Please login or Register to Submit Answer

Written By

Comments