• Resolved waberlin

    (@waberlin)


    Dear Jeroen,  my directory has to columns. I added around 150 entries.
    Now I see, that the columns are “out of balance”, meaning that the right column has some 100 entries and the left column only shows 50 columns.
    Questions:
    * can I “balance” the columns?
    * are 150 entries to much?

    Thank you in advance for your answers.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    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

    Thread Starter waberlin

    (@waberlin)

    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”.

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    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

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    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!

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    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

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    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

    Thread Starter waberlin

    (@waberlin)

    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

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    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

Viewing 8 replies - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.