Kunena Menu
Center the menu bar content
- chibikawaii
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
12 years 10 months ago #16289
by chibikawaii
Center the menu bar content was created 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
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.
12 years 10 months ago #16291
by ced1870
Joomlack Webmaster and Developer
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
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.
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??
/* 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.
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;
}
/* 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




