Title: Remove widget title
Last modified: August 18, 2016

---

# Remove widget title

 *  [music_man](https://wordpress.org/support/users/music_man/)
 * (@music_man)
 * [20 years ago](https://wordpress.org/support/topic/remove-widget-title/)
 * Hi
 * I have the widgets plugin installed and I was wondering how to get rid of the
   e.g. “Pages” for the sidebar blocks.
 * I tried setting:
 * <?php
    if ( function_exists(‘register_sidebar’) ) register_sidebar(array( ‘before_widget’
   => ”, ‘after_widget’ => ”, ‘before_title’ => ‘<div style=”display: none;>’, ‘
   after_title’ => ‘</div>’, )); ?>
 * But that’s iffy.

Viewing 1 replies (of 1 total)

 *  [yosemite](https://wordpress.org/support/users/yosemite/)
 * (@yosemite)
 * [20 years ago](https://wordpress.org/support/topic/remove-widget-title/#post-402910)
 * Check your style.css for your theme. Mine has an entry for `div#sidebar ul h2{`
 * If I put diplay: none; in there the titles go bye-bye. However, I’m using a simple
   theme with a white background so YMMV.

Viewing 1 replies (of 1 total)

The topic ‘Remove widget title’ is closed to new replies.

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [yosemite](https://wordpress.org/support/users/yosemite/)
 * Last activity: [20 years ago](https://wordpress.org/support/topic/remove-widget-title/#post-402910)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
