Title: CSS coding for wpdiehard shortcode
Last modified: May 13, 2020

---

# CSS coding for wpdiehard shortcode

 *  [larryhines](https://wordpress.org/support/users/larryhines/)
 * (@larryhines)
 * [6 years ago](https://wordpress.org/support/topic/css-coding-for-wpdiehard-shortcode/)
 * I am using your CSS styles for my wpdiehard shortcode. I have several tables 
   and forms that vary in the number of columns and column widths. Can I have different
   CSS styles for each table? Can I vary the column width for each column?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Passionate Programmer Peter](https://wordpress.org/support/users/peterschulznl/)
 * (@peterschulznl)
 * [6 years ago](https://wordpress.org/support/topic/css-coding-for-wpdiehard-shortcode/#post-12831760)
 * Hi,
 * If you want to vary the column width, you probably have to remove the fixed class
   from the table first. After that, the simplest way is probably to use the ID 
   of the header column. When you check the HTML of the table, you’ll see that each
   header column has an id (=column name). I never tried, but you should be able
   to change the width with this id like:
    #your_column { width: 200px; }
 * Be aware that these table are responsive! If you change the width, your table
   might lose this feature.
 * Best regards,
    Peter

Viewing 1 replies (of 1 total)

The topic ‘CSS coding for wpdiehard shortcode’ is closed to new replies.

 * ![](https://ps.w.org/wp-data-access/assets/icon-256x256.png?rev=3299063)
 * [WP Data Access – App Builder for Tables, Forms, Charts, Maps & Dashboards](https://wordpress.org/plugins/wp-data-access/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-data-access/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-data-access/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-data-access/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-data-access/reviews/)

## Tags

 * [css styles](https://wordpress.org/support/topic-tag/css-styles/)

 * 1 reply
 * 2 participants
 * Last reply from: [Passionate Programmer Peter](https://wordpress.org/support/users/peterschulznl/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/css-coding-for-wpdiehard-shortcode/#post-12831760)
 * Status: not resolved