Need to vertically center Title in Maximenu_CK
Need to vertically center Title in Maximenu_CK was created by RC2012
Posted 12 years 1 day ago #2823
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
by RC2012
Please Log in or Create an account to join the conversation.
Replied by ced1870 on topic Re: Need to vertically center Title in Maximenu_CK
Posted 12 years 1 day ago #2828
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
by ced1870
Please Log in or Create an account to join the conversation.
Replied by RC2012 on topic Re: Need to vertically center Title in Maximenu_CK
Posted 12 years 22 hours ago #2832
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;
}
by RC2012
Please Log in or Create an account to join the conversation.
Replied by ced1870 on topic Re: Need to vertically center Title in Maximenu_CK
Posted 12 years 19 hours ago #2833
try with line-height:17px;
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
Time to create page: 0.824 seconds