Title: override default table borders
Last modified: August 31, 2016

---

# override default table borders

 *  Resolved [lewis](https://wordpress.org/support/users/wkrstr0075/)
 * (@wkrstr0075)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/override-default-table-borders/)
 * have transferred old static html website, and table borders show in grey
    on 
   website page. found a previous forum on this issue, an inserting this code works:
 *     ```
       <table style="border:none;">
        <td style="border:none;">
       ```
   
 * problem is this has to be done manually many times over. can anyone suggest how
   to master code this to remove the grey table borders all at once ?

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/override-default-table-borders/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/override-default-table-borders/page/2/?output_format=md)

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [10 years, 1 month ago](https://wordpress.org/support/topic/override-default-table-borders/#post-7188343)
 * If you’re not using a Child Theme, and if the theme doesn’t have a section for
   CSS modifications then do the following:
    1. Install this Custom CSS Manager plugin [http://wordpress.org/plugins/custom-css-manager-plugin](http://wordpress.org/plugins/custom-css-manager-plugin)
    2. use its “CSS Code” [section of the dashboard](https://s.w.org/plugins/custom-css-manager-plugin/screenshot-1.jpg?r=1288706)
       to hold your CSS modifications:
    3.  (put this code in)
    4.     ```
           table,
           td {
               border: 0;
           }
           ```
       
    5. Save
 * _Alternatively use your Child Theme style.css file to hold your CSS modifications_
 *  Thread Starter [lewis](https://wordpress.org/support/users/wkrstr0075/)
 * (@wkrstr0075)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/override-default-table-borders/#post-7188352)
 * quick response appreciated. inserted code, and this works well, with the drawback
   that it knocked out the “menu” borders. can we put these back in place ?
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [10 years, 1 month ago](https://wordpress.org/support/topic/override-default-table-borders/#post-7188354)
 * Can you show us a webpage with the table borders that you want to remove?
 *  Thread Starter [lewis](https://wordpress.org/support/users/wkrstr0075/)
 * (@wkrstr0075)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/override-default-table-borders/#post-7188369)
 * i removed the “border: 0” code from the child theme so you can view the original
   with the grey border.
    however, being in maintenace mode, do you need me to take
   it out of that mode for you to view it ?
 * [http://www.mystic-wicker.com/responsive/](http://www.mystic-wicker.com/responsive/)
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [10 years, 1 month ago](https://wordpress.org/support/topic/override-default-table-borders/#post-7188370)
 * Yes please
 *  Thread Starter [lewis](https://wordpress.org/support/users/wkrstr0075/)
 * (@wkrstr0075)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/override-default-table-borders/#post-7188381)
 * ok, maintenance mode disabled
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [10 years, 1 month ago](https://wordpress.org/support/topic/override-default-table-borders/#post-7188387)
 * Try:
 *     ```
       .entry-content td,
       .entry-content table {
           border: 0;
       }
       ```
   
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [10 years, 1 month ago](https://wordpress.org/support/topic/override-default-table-borders/#post-7188388)
 * By the way, there are plugins you can use to control structure of your text. 
   The age of the table layout is over [https://wordpress.org/plugins/lightweight-grid-columns/](https://wordpress.org/plugins/lightweight-grid-columns/)
 *  Thread Starter [lewis](https://wordpress.org/support/users/wkrstr0075/)
 * (@wkrstr0075)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/override-default-table-borders/#post-7188393)
 * no change – you can see the “menu” is not right
 * meanwhile, will be reading your link
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [10 years, 1 month ago](https://wordpress.org/support/topic/override-default-table-borders/#post-7188395)
 * Hmm where are you putting this CSS?
 *  Thread Starter [lewis](https://wordpress.org/support/users/wkrstr0075/)
 * (@wkrstr0075)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/override-default-table-borders/#post-7188402)
 * appearance>editor
    here is a duplicate put in backticks:
 *     ```
       /*
       Theme Name: child-theme
       Theme URI: http://www.mystic-wicker.com
       Description: child theme for smpl skeleton
       Author: lewis
       Author URI:
       Template: smpl-skeleton
       Version: 2..1.1
       */
   
       .entry-content td,
       .entry-content table {
           border: 0;
       }
   
       /* Generated by Orbisius Child Theme Creator (http://club.orbisius.com/products/wordpress-plugins/orbisius-child-theme-creator/) on Sat, 19 Mar 2016 13:45:20 +0000 */ 
   
       @import url('../smpl-skeleton/style.css');
       ```
   
 * hope this helps
 *  Thread Starter [lewis](https://wordpress.org/support/users/wkrstr0075/)
 * (@wkrstr0075)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/override-default-table-borders/#post-7188411)
 * andrew, i re-enabled maintenance mode until you need it disabled again
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [10 years, 1 month ago](https://wordpress.org/support/topic/override-default-table-borders/#post-7188433)
 * What is the name of your child theme folder? I want to see if I can access it
   through your maintenance plugin
 *  Thread Starter [lewis](https://wordpress.org/support/users/wkrstr0075/)
 * (@wkrstr0075)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/override-default-table-borders/#post-7188435)
 * do you mean this:
    Theme Name: child-theme
 * if something different, let me know
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [10 years, 1 month ago](https://wordpress.org/support/topic/override-default-table-borders/#post-7188453)
 * In the end, I couldn’t access that behind the maintenance screen. I can’t really
   commit to being online when you disable your maintenance screen, so that’s a 
   bit of an issue.
 * Generally, I wouldn’t think the latest code that I suggested would cause any 
   issues with your navigation bar.
 * Something else might seem to be amok here.
 * A tip though, always add your CSS modifications below the [@import](https://wordpress.org/support/users/import/)
   line.

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/override-default-table-borders/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/override-default-table-borders/page/2/?output_format=md)

The topic ‘override default table borders’ is closed to new replies.

## Tags

 * [table borders](https://wordpress.org/support/topic-tag/table-borders/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 20 replies
 * 4 participants
 * Last reply from: [newstheweb](https://wordpress.org/support/users/newstheweb/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/override-default-table-borders/page/2/#post-8537111)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
