Title: Background colorresponsive colapse
Last modified: February 20, 2018

---

# Background colorresponsive colapse

 *  Resolved [frilynt](https://wordpress.org/support/users/frilynt/)
 * (@frilynt)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/background-colorresponsive-colapse/)
 * Hello:)
 * What is the code to change the background color when the table colapse in mobilemode?:)
 * On my site it is transparent until i touch it, and then it gets white:)
 * Picture:
    [https://www.dropbox.com/s/0luyk0d9wknmv3v/Frilynt.no%20-%20feil.jpg?dl=0](https://www.dropbox.com/s/0luyk0d9wknmv3v/Frilynt.no%20-%20feil.jpg?dl=0)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbackground-colorresponsive-colapse%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/background-colorresponsive-colapse/#post-9993935)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * In your case, I recommend adding this to the “Custom CSS” textarea on the “Plugin
   Options” screen of TablePress:
 *     ```
       .tablepress .odd + .child td {
           background-color: #eaeaea;
           border-top: 0;
       }
       .tablepress .even + .child td {
           background-color: #ffffff;
           border-top: 0;
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [frilynt](https://wordpress.org/support/users/frilynt/)
 * (@frilynt)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/background-colorresponsive-colapse/#post-9994029)
 * PERFECT😄 Thank you😄
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/background-colorresponsive-colapse/#post-9994086)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](https://wordpress.org/support/plugin/tablepress/reviews/#new-post)
   here in the plugin directory. Thanks!

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

The topic ‘Background colorresponsive colapse’ 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: [8 years, 3 months ago](https://wordpress.org/support/topic/background-colorresponsive-colapse/#post-9994086)
 * Status: resolved