Kunena Menu
Need to vertically center Title in Maximenu_CK
14 years 6 months ago #2823
by RC2012
Need to vertically center Title in Maximenu_CK was created by RC2012
Just purchased the plg maximenu which I think is quite an interesting plugin. Unfortunately I was under the impression that it can vertically align the title in the centre of each cell. Does anyone know how this can be done please. I'm running joomla 1.5. and here ia a preview of what I'm talking about:
webiste
Please Log in or Create an account to join the conversation.
14 years 6 months ago #2828
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Re: Need to vertically center Title in Maximenu_CK
Hi
you can play with padding or line-height in the css of the theme to adapt exactly the design like you want
Ced
you can play with padding or line-height in the css of the theme to adapt exactly the design like you want
Ced
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
14 years 6 months ago #2832
by RC2012
Replied by RC2012 on topic Re: Need to vertically center Title in Maximenu_CK
Many thanks for your help! Managed to get the width more or less right but unfortunately can't get the Title in the middle grrrr It's really frustrating!!!
Here's the CSS I'm using:
/* item title */
div#<?php echo $id; ?> span.titreCK {
color : #888;
/*display : block;*/
text-transform : none;
font-weight : normal;
font-size: 12px;
font-weight: bold;
text-decoration : none;
line-height: normal;
min-height : 17px;
float : none !important;
float : left;
vertical-align: middle;
padding: 10px;
}
Here's the CSS I'm using:
/* item title */
div#<?php echo $id; ?> span.titreCK {
color : #888;
/*display : block;*/
text-transform : none;
font-weight : normal;
font-size: 12px;
font-weight: bold;
text-decoration : none;
line-height: normal;
min-height : 17px;
float : none !important;
float : left;
vertical-align: middle;
padding: 10px;
}
Please Log in or Create an account to join the conversation.
14 years 6 months ago #2833
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Re: Need to vertically center Title in Maximenu_CK
try with line-height:17px;
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.219 seconds




