Hi @waberlin
thanks for using my plugin and contacting me. I have seen Name Directories with 3000+ entries, so the amount should not be a problem.
I am not sure, but it might be a layout problem with HTML maybe. Since you did not provide I link I am not able to check. Can you provide a link to your site so I can see what it looks like?
Kind regards Jeroen
Here is a link to the page.
https://www.wa-consult.com/privat/zeitleiste/
If you are asked for a password, I temporarily set it to “Jeroen”.
Hi @waberlin I see what happens. The column count is not determined by the amount of entries, but by the amount of ‘parent’ items. But I also seem some other strange HTML output.
Is there any chance you can make an export of your directory and mail it to me at jeroenpeters1986@gmail.com?
Kind regards Jeroen
Hi @waberlin just a quick message to tell you I have not forgotten, busy few days at my dayjob, so I will get to check this tonight or sometime tomorrow. I did receive the export file, thank you!
Hi @waberlin
I have tried to debug this, but what I now saw is that you have 22 names, and each of the two colums have 11 names in them. But the disbalance is because the descriptions do not have the same amount of lines in them. So 2022, 2024, 2025 have lots of lines, and 2003, 2008 and 2009 have very few lines. The columns both have equal items, but items are not aligned. In your case, this can be fixed by having a minimum height in the description (which you can edit in CSS). Maybe this is an option for you?
Kind regards Jeroen
Hi @waberlin I committed a little fix for the HTML-tags. But that is not going to fix your issue. Did you see my previous comment?
Kind regards,
Jeroen Peters
Dear Jeroen, thank you for looking into the issue. You recommended the following fix: “having a minimum height in the description (which you can edit in CSS)”. This must be something like:
.your-plugin-description-class {
min-height: 200px; /* adjust to your needs */
}
Could you provide more details, which class is in focus here?
If this is the wrong approach, please provide some hints how to fix the issue.
Thank you in advance.
Andreas
Hi @waberlin thanks for your kinds words and your donation!
You were on the right path, this is how I managed to fix it:
.name_directory_name_box {
min-height: 380px;
}
If you want al columns to have the same height, the best thing you can do is try to guess the size of the longest year. In this case, that’s 2025 (the last one), which is about 380px.
When you have this enabled (you can copy-paste it in the ExtraCSS option of the Customizer), you will see both columns have the same height. Please let me know if this work for you 🙂
Kind regards, Jeroen