Description causes gap [SOLVED]
My menu is 20 pixels apart from the previous item. (The gray background is for clarity only). Now when I add a description to a menu item, the other entries slide down. In addition, there is a small space below the entry with the description.
Without description:
With description:
I didn't manage to align the menu items above flush and make them the same height. Playing around with all kinds of padding and margin didn't help.
Ultimately, I helped myself with the following CSS code:
Desired result:
Isn't there a better way?
Without description:
With description:
I didn't manage to align the menu items above flush and make them the same height. Playing around with all kinds of padding and margin didn't help.
Ultimately, I helped myself with the following CSS code:
Code:
li.maximenuck.level1 .descck {
position:absolute;
bottom:3px;
}
Desired result:
Isn't there a better way?
Last Edit:3 years 1 month ago
by Chrysant
Last edit: 3 years 1 month ago by Chrysant.
Please Log in or Create an account to join the conversation.
Hi
if your css works, you can keep it
are your items correctly setup with this code ?
CEd
if your css works, you can keep it
are your items correctly setup with this code ?
CEd
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
Tested with Firefox. Chrome and Edge - seems to work correctly.
I just wondered if there was a way to do this via settings.
agz-info.online/allgemeinmedizin
I just wondered if there was a way to do this via settings.
agz-info.online/allgemeinmedizin
Last Edit:3 years 1 month ago
by Chrysant
Last edit: 3 years 1 month ago by Chrysant.
Please Log in or Create an account to join the conversation.
The following user(s) said Thank You: Chrysant
Please Log in or Create an account to join the conversation.
Time to create page: 0.758 seconds