Centered Megamenu

sandra1's picture
sandra1
Mon, 01/22/2018 - 05:43
#1
Centered Megamenu

Hello MD Team, can you give me a tip to center the megamenu container? Thanks for help.

cindy's picture
cindy
Wed, 01/24/2018 - 03:27

Hi,

Please add the following code into file css of your theme

@media(min-width:768px){
.awemenu-nav .awemenu{text-align: center;}
.awemenu-nav.awemenu-standard .awemenu > .awemenu-item{
float: none;
display: inline-block;
}
}


replace  768px  with your responsive width
replace awemenu-standard  with your menu type class name.
ex : awemenu-top

Note: The above only applies  for Megamenu at Frontend with Screen's width > = 768px

sandra1's picture
sandra1
Wed, 01/24/2018 - 11:56

Thanks for the useful tip! It works, but not in my theme css, I've added the code in the css editor available in megamenu edit panel ;-)

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.