Title: Padding
Last modified: July 11, 2021

---

# Padding

 *  Resolved [kodame](https://wordpress.org/support/users/kodame/)
 * (@kodame)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/padding-38/)
 * Hello
 * I would like to add some cell padding in mobile view but when I enter the following
   CSS in the wordpress customizer, it also affects desktop view, which I don’t 
   want to change
 * .mtr-table td {
    padding: 20px !important; }
 * Can you please let me know how to do this correctly?

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

 *  Plugin Author [Nikolay Nikolov](https://wordpress.org/support/users/nnikolov/)
 * (@nnikolov)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/padding-38/#post-14648708)
 * Hi.
 * This below will affect up to 650px width, you can change the number. Learn more
   here: [https://www.w3schools.com/cssref/css3_pr_mediaquery.asp](https://www.w3schools.com/cssref/css3_pr_mediaquery.asp)
 * [@media](https://wordpress.org/support/users/media/) (max-width:650px) {
    .mtr-
   table td { padding: 20px !important; } }
 *  Thread Starter [kodame](https://wordpress.org/support/users/kodame/)
 * (@kodame)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/padding-38/#post-14648747)
 * Hello
 * Thanks, I did try that, which solved desktop view, but there is still no padding
   in mobile view, can you try on your end to see what I mean?
 *  Plugin Author [Nikolay Nikolov](https://wordpress.org/support/users/nnikolov/)
 * (@nnikolov)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/padding-38/#post-14648762)
 * Ah yes, I see now. Use this code then, it should have higher priority than the
   other one.
 *     ```
       @media (max-width:650px) {
       table.mtr-table .mtr-td-tag, 
       table.mtr-table .mtr-td-tag:first-child, 
       table.mtr-table .mtr-th-tag, 
       table.mtr-table .mtr-th-tag:first-child {
       padding: 20px !important;
       }
       }
       ```
   
 *  Thread Starter [kodame](https://wordpress.org/support/users/kodame/)
 * (@kodame)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/padding-38/#post-14648782)
 * Thank you!

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

The topic ‘Padding’ is closed to new replies.

 * ![](https://ps.w.org/make-tables-responsive/assets/icon-256x256.jpg?rev=1760329)
 * [Make Tables Responsive](https://wordpress.org/plugins/make-tables-responsive/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/make-tables-responsive/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/make-tables-responsive/)
 * [Active Topics](https://wordpress.org/support/plugin/make-tables-responsive/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/make-tables-responsive/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/make-tables-responsive/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [kodame](https://wordpress.org/support/users/kodame/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/padding-38/#post-14648782)
 * Status: resolved