Description causes gap [SOLVED]

More
5 years 8 months ago - 5 years 8 months ago #60005 by Chrysant
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:
Code:
li.maximenuck.level1 .descck { position:absolute; bottom:3px; }

Desired result:


Isn't there a better way?
Last edit: 5 years 8 months ago by Chrysant.

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

More
5 years 8 months ago #60010 by ced1870
Replied by ced1870 on topic Description causes gap
Hi
if your css works, you can keep it
are your items correctly setup with this code ?
CEd

Joomlack Webmaster and Developer

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

More
5 years 8 months ago - 5 years 8 months ago #60013 by Chrysant
Replied by Chrysant on topic Description causes gap
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
Last edit: 5 years 8 months ago by Chrysant.

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

More
5 years 8 months ago #60015 by ced1870
Replied by ced1870 on topic Description causes gap
there is no setting for that, this is a css problem

Joomlack Webmaster and Developer
The following user(s) said Thank You: Chrysant

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

Time to create page: 0.196 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 4711 guests and no members online