Title: Table Width Percentage
Last modified: August 22, 2016

---

# Table Width Percentage

 *  Resolved [Alice Kaye](https://wordpress.org/support/users/alice-kaye/)
 * (@alice-kaye)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/table-width-percentage/)
 * Hi there,
 * Loving the plugin now that I’ve got it operational, woot! My question is, I’m
   using your table setup to display my links as I wanted to provide both the name/
   website and the description in an appealing way.
 * However, I’m wondering if it’s possible to set the percentage to width=”50%” 
   for both the title and the description so that this doesn’t happen:
 * [http://screencast.com/t/4E1bMbFac](http://screencast.com/t/4E1bMbFac)
 * It’s currently based on the amount of text, and it’s making the web link rather
   small. I was hoping to make them even.
 * Any assistance is greatly appreciated!
 * [https://wordpress.org/plugins/link-library/](https://wordpress.org/plugins/link-library/)

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

 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/table-width-percentage/#post-5870456)
 * 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.
 *  Thread Starter [Alice Kaye](https://wordpress.org/support/users/alice-kaye/)
 * (@alice-kaye)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/table-width-percentage/#post-5870460)
 * 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! _🙂
 *  Thread Starter [Alice Kaye](https://wordpress.org/support/users/alice-kaye/)
 * (@alice-kaye)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/table-width-percentage/#post-5870462)
 * 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?
 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/table-width-percentage/#post-5870470)
 * 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.
 *  Thread Starter [Alice Kaye](https://wordpress.org/support/users/alice-kaye/)
 * (@alice-kaye)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/table-width-percentage/#post-5870474)
 * 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.

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

The topic ‘Table Width Percentage’ is closed to new replies.

 * ![](https://ps.w.org/link-library/assets/icon-256x256.jpg?rev=971117)
 * [Link Library](https://wordpress.org/plugins/link-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/link-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/link-library/)
 * [Active Topics](https://wordpress.org/support/plugin/link-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/link-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/link-library/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Alice Kaye](https://wordpress.org/support/users/alice-kaye/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/table-width-percentage/#post-5870474)
 * Status: resolved