Title: Removing borders using CSS
Last modified: September 7, 2017

---

# Removing borders using CSS

 *  Resolved [pernillehfr](https://wordpress.org/support/users/pernillehfr/)
 * (@pernillehfr)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/removing-borders-using-css/)
 * Hi
 * I have 2 issues (I am new to WordPress).
 * 1. I would like to remove the grey borders around the menu.
 * 2. I would like to change the size of the font in the submenus (under ‘categories’),
   as well as remove the border and edit the space between each submenu.
 * I cannot seem to find the CSS code that I need to use.
 * The website is [http://www.fagiolo.co.uk](http://www.fagiolo.co.uk)
 * I hope some of you can help me (the solution is probably closer than I know :))
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fremoving-borders-using-css%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [8 years, 8 months ago](https://wordpress.org/support/topic/removing-borders-using-css/#post-9475476)
 * In the “Additional CSS” part of the dashboard add this:
 *     ```
       .main-navigation {
           border: 0;
       }
   
       .main-navigation ul ul {
           box-shadow: none;
       }
   
       .main-navigation ul ul a {
           font-size: 20px;
       }
       ```
   
 * _[https://codex.wordpress.org/CSS#Custom\_CSS\_in\_WordPress](https://codex.wordpress.org/CSS#Custom_CSS_in_WordPress)_
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [8 years, 8 months ago](https://wordpress.org/support/topic/removing-borders-using-css/#post-9477717)
 * Looks like you resolved this. I’ll mark it resolved.
 *  Thread Starter [pernillehfr](https://wordpress.org/support/users/pernillehfr/)
 * (@pernillehfr)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/removing-borders-using-css/#post-9478505)
 * Yes, it is resolved.
 * Thank you so much for the help 🙂

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

The topic ‘Removing borders using CSS’ is closed to new replies.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [editing](https://wordpress.org/support/topic-tag/editing/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [pernillehfr](https://wordpress.org/support/users/pernillehfr/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/removing-borders-using-css/#post-9478505)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
