Title: Adding a border between rows
Last modified: July 28, 2019

---

# Adding a border between rows

 *  Resolved [wordpressnew1](https://wordpress.org/support/users/wordpressnew1/)
 * (@wordpressnew1)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/adding-a-border-between-rows/)
 * Hi Tobias,
 * On the link referenced I have a table under BEST WELCOME CASINO OFFERS:
 * I want to have a border under each row, on mobile I have it stacked. Do you know
   how I might be able to achieve this so it looks good. I have currently removed
   all borders until I can get it right.
 * Thanks in advance,
    Bob
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fadding-a-border-between-rows%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/adding-a-border-between-rows/#post-11775738)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * The horizontal border is actually the default, and if you remove the Custom CSS
   that removes the borders again, it should appear.
 * Regards,
    Tobias
 *  Thread Starter [wordpressnew1](https://wordpress.org/support/users/wordpressnew1/)
 * (@wordpressnew1)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/adding-a-border-between-rows/#post-11778399)
 * Thanks I’ve done that, but on mobile you’ll see that the first row where it references
   888 Casino – it doesn’t have the horizontal lines when stacked. Do you know how
   to ensure this looks the same as the other rows?
 * Is there any way to make these look like nice visual blocks when stacked on mobile?
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/adding-a-border-between-rows/#post-11778450)
 * Hi,
 * you could maybe try “Custom CSS” like
 *     ```
       @media screen and (max-width: 768px) {
           .tablepress-id-32 tbody td {
               border: none;
           }
           .tablepress-id-32 tbody tr {
               display: block;
               border: 2px solid #333333;
               margin-bottom: 5px;
           }
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [wordpressnew1](https://wordpress.org/support/users/wordpressnew1/)
 * (@wordpressnew1)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/adding-a-border-between-rows/#post-11785332)
 * That’s perfect – thank you!
 * Lastly – I want to increase the width of column of 5 since the button is squashed.
   I’m finding it hard to do this without making it look unaligned when it displays
   via mobile. Do you know how I might be able to achieve this?
 * Many thanks,
    Aman
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/adding-a-border-between-rows/#post-11785429)
 * Hi,
 * please add this to the “Custom CSS” textarea on the “Plugin Options” screen of
   TablePress:
 *     ```
       .tablepress-id-32 .visitbutton {
         white-space: nowrap;
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [wordpressnew1](https://wordpress.org/support/users/wordpressnew1/)
 * (@wordpressnew1)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/adding-a-border-between-rows/#post-11785813)
 * Awesome! Thankyou Tobias!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/adding-a-border-between-rows/#post-11786792)
 * 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/)
   here in the plugin directory. Thanks!

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

The topic ‘Adding a border between rows’ 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/)

 * 7 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/adding-a-border-between-rows/#post-11786792)
 * Status: resolved