Title: Remove border bottom on recent post widget
Last modified: August 19, 2016

---

# Remove border bottom on recent post widget

 *  [steve-moore](https://wordpress.org/support/users/steve-moore/)
 * (@steve-moore)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/remove-border-bottom-on-recent-post-widget/)
 * The links in my template are styled using “border-bottom”. I would like to remove
   the border-bottom from my recent posts widget and my pages widget.
 * I have managed to remove the border bottom from the text widget using
    ‘.textwidget
   a { border-bottom: none; }’
 * I also used the same code to remove the border bottom from the sociable plug 
   in.
 * What I have tried so far for the other widgets has not worked. If anyone can 
   help me remove the border bottom from my “recent posts” and “pages” widget I 
   would be thankful.
 * Here is the link to my site.
 * [http://vicegripmarketing.com/](http://vicegripmarketing.com)
 * Steve

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

 *  [Frumph](https://wordpress.org/support/users/frumph/)
 * (@frumph)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/remove-border-bottom-on-recent-post-widget/#post-1515319)
 * .. the border-bottom is in the normal a for the entire site, so you have to move
   some stuff around.
 *     ```
       a {
       border-bottom: 0;
       }
   
       .post a {
       border-bottom: 1px dotted #535353;
       }
       ```
   
 *  Thread Starter [steve-moore](https://wordpress.org/support/users/steve-moore/)
 * (@steve-moore)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/remove-border-bottom-on-recent-post-widget/#post-1515322)
 * Thanks. I understand what you are saying and made the changes. The problem is
   that it underlined everything in my post that was a link, such as the title, 
   and created a whole different style of link in my widgets.
 * I thought that since I could use “.textwidget a” and “.sociable a” to style those,
   I could use “.recentpostswidget a” or something like it to style the recent posts
   widget. It just hasn’t worked. I am pretty new to CSS and am learning along the
   way. I think I need to know what the widget title is so I can style it. I looked
   in the source but couldn’t figure it out. I suppose I need to learn CSS from 
   the beginning. Thanks for your help
 * Steve
 *  [Frumph](https://wordpress.org/support/users/frumph/)
 * (@frumph)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/remove-border-bottom-on-recent-post-widget/#post-1515650)
 * .sidebar h2 is the widget title

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

The topic ‘Remove border bottom on recent post widget’ is closed to new replies.

 * 3 replies
 * 2 participants
 * Last reply from: [Frumph](https://wordpress.org/support/users/frumph/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/remove-border-bottom-on-recent-post-widget/#post-1515650)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
