Title: Styling When Using &quot;Single Cell Content Shortcode&quot;
Last modified: August 21, 2016

---

# Styling When Using "Single Cell Content Shortcode"

 *  Resolved [jsem1101](https://wordpress.org/support/users/jsem1101/)
 * (@jsem1101)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/styling-when-using-single-cell-content-shortcode/)
 * Hi Tobias
 * When using the shortcodes to enter single cells, for example [table-cell id=5
   cell=C3 /], is it possible to style these using the external style sheets, rather
   than inline using spans etc?
 * eg.
    [table-cell id=5 _**class=”cellstyle1″**_ cell=C3 /]
 * Kind regards
    Jason
 * [http://wordpress.org/plugins/tablepress/](http://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/styling-when-using-single-cell-content-shortcode/#post-4485960)
 * Hi Jason,
 * thanks for your question!
 * The Single Cell Shortcode only retrieves the content of the cell and prints that,
   without any element around it that could get a CSS class.
    Thus, the `<span>`
   method (either in the table cell or wrapped around the Shortcode) is the only
   thing possible here. You could give the CSS class to that `<span>` of course,
   to not have to use inline styles.
 * Regards,
    Tobias
 *  Thread Starter [jsem1101](https://wordpress.org/support/users/jsem1101/)
 * (@jsem1101)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/styling-when-using-single-cell-content-shortcode/#post-4485964)
 * No problem. That’s fine, just wanted to make sure I wasn’t adding spans without
   need.
 * Thanks for quick response!
 * Jason
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/styling-when-using-single-cell-content-shortcode/#post-4485967)
 * Hi,
 * no problem, you are very welcome! 🙂
 * Regards,
    Tobias

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

The topic ‘Styling When Using "Single Cell Content Shortcode"’ is closed to new 
replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/styling-when-using-single-cell-content-shortcode/#post-4485967)
 * Status: resolved