• Resolved MattDrax

    (@mattdrax)


    In general I have been able to get the plugin to do what I would like, however I have a few questions…I was not able to find the answers looking through other posts…

    I’m sure what I need to do is relatively simple, but please forgive me as I’m pretty new to all of this…

    First, I have a two column table set up with Link Images in the first column and Link Descriptions in the second…I was able to figure out how to get the Link Descriptions to align vertically in the middle of the row, but can’t seem to get the images to align vertically…

    Second, is there a way to manually set the row height for the table?

    Finally, I can’t seem to get the ‘Show link name when no image is assigned’ to work…checking this box seems to have no effect and I’ve ended up just assigning an image to every link as a workaround.

    Any suggestions regarding the above would be greatly appreciated.

    Thanks!

    Matt

    https://ww.wp.xz.cn/plugins/link-library/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Yannick Lefebvre

    (@jackdewey)

    Sorry about the trouble with the ‘Show link name when no image is assigned’ option. There was a big in it. I just pushed out an update to correct the issue.

    As for your styling issues, can you give me a link to your site so I can see the library in action? There may very well be a conflict between Link Library’s styles and what is defined in your site’s theme.

    Thread Starter MattDrax

    (@mattdrax)

    Hi Yannick!

    No need to apologize I see these as minor issues and greatly appreciate the response!!!

    I performed the update and that did indeed fix the problem with the “Show link name when no image is assigned’ issue…

    As I said, I’m quite new to all this, so it’s entirely possible the other problem is a conflict…here is a link to my ‘links’ page:

    http://www.avobs.com/links-reference/

    I thank you again for any help you can provide.

    Please let me know if you need anything else.

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    Add the following CSS rule to the Link Library stylesheet editor:

    table.linklisttable td img {
        vertical-align: middle;
    }

    This should take care of centering the images in your cells. It did when I tested on your site using the Chrome Developer Tools.

    Let me know if this is now displayed as desired.

    Please consider leaving a rating or donating to support the ongoing development of this plugin.

    Thread Starter MattDrax

    (@mattdrax)

    Thanks again Yannick!

    I have left a well deserved rating and made a donation..thanks for the info on the upcoming wiki also.

    Just two other things…how can I set the height of rows in the table if needed? It looks great now, but just want to know in case I need it.

    Also, when I enabled the ‘Show link name when no image is assigned’ (which works perfectly now) I noticed that it made the column for the category the text link falls under wider than the other columns…is there a way to correct for this?

    Thanks as always!!!

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    Thanks for the donation.

    If you wanted to set the row height, you would need to add a class to the <tr> tag at the beginning of each row, so it would look something like this:

    <tr class="linkrow">

    Then, you could add a style in your stylesheet to target that specific row:

    .linkrow {
         height: 100px;
    }

    As for your column width issue, it can be resolved in a similar fashion by adding a class tag to the <td> HTML tags for both the image and link name fields, like this:

    <td class="linkfirstcell">

    Them, adding an entry to the stylesheet editor to make these cells a certain width:

    .linkfirstcell{
         width: 150px;
    }

    Of course, adjust the width and height values based on your layout.

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

The topic ‘A few setup questions’ is closed to new replies.