Sure, one way to do this would be under the Advanced tab in the Library Settings page. In that section, you will see the <td> and </td> around each item that make then table data cells. You could then add the desired width directly to these fields:
<td style="width:50%">
Let me know if that does the trick.
Please considering rating the plugin or donating to support its development.
Perfect! I wasn’t sure how flexible the code was under advanced. That’s exactly what I needed.
Thanks a bunch Yannick, especially for the incredibly fast replies!
P.S. Do you sleep? You answer so quickly at seemingly all hours! 🙂
Oh, one last question regarding the tables. Is it possible to change the background color of them within your plugin, or even doing something like this:
Blue TD
White TD
Blue TD
White TD
That way they differentiate between lines?
You’ve just been lucky to catch me while I was at my keyboard. I write and support my free WordPress plugins in my spare time, during lunch times at the office and in the evenings once the kids are in bed.
You can achieve different row colors by adding the following to the plugin’s stylesheet editor, which you will find in the Admin, under the Link Library menu, under Stylesheet:
.linklist table tr:nth-child(odd) td {
background-color: #ddd;
}
.linklist table tr:nth-child(even) td {
background-color: #eee;
}
Of course, just change the background colors for the one you want to see on your site, then save your stylesheet.
Please considering rating the plugin or donating to support its development.
Sounds like how I support my site. 🙂
Perfect. Thanks a bunch for the code Yannick! I figured that’s how it could be done, but wanted to make sure. I’ll get that going.