WordPress.org

Ready to get started?Download WordPress

Forums

Remove widget title (2 posts)

  1. music_man
    Member
    Posted 8 years ago #

    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.

  2. yosemite
    Member
    Posted 8 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags