Center the menu bar content

More
12 years 10 months ago #16289 by chibikawaii
Hello all!

I was curious to see what I would need to do to get the menu items to center? Is there an option built in or do I need to go in and change the float to none in the css or mess with the margins?

Thank you all for your help!
-Mark

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

More
12 years 10 months ago #16291 by ced1870
Replied by ced1870 on topic Center the menu bar content
Hi
if you are using the theme blank or css3megamenu you just need to change the first "text-align:left" into center in the file maximenuhck.php
CEd

Joomlack Webmaster and Developer

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

More
12 years 9 months ago #16888 by MDF73
Replied by MDF73 on topic Center the menu bar content
Doesn't work. In maximenuhck.php:

/* menu */
div#<?php echo $id; ?> {
font-size:14px;
line-height:21px;
text-align:center;
zoom:1;
}

But the items are always align in the left.

Other ideas??

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

More
12 years 9 months ago #16889 by MDF73
Replied by MDF73 on topic Center the menu bar content
It works withe the second div:

/* container style */
div#<?php echo $id; ?> ul.maximenuck {
overflow: visible !important;
...
...
...
text-align: center;
}

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

Time to create page: 0.182 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1736 guests and 2 members online