WordPress.org

Ready to get started?Download WordPress

Forums

Live Stream Badger
[resolved] Widgets title modification (3 posts)

  1. LucyNyu
    Member
    Posted 7 months ago #

    Hey there,

    I just started using WordPress and I'm loving your plugin, thanks for all your work!

    Anyhow I went through your readme and made proper css modification to almost everything... yet I'm failing to modify title in widgets.

    No matter what I do it's always: <h3> Title </h3>
    What can I can do to wrap: <h3 class="widget-title"> TITLE </h3>
    Instead of default <h3>?

    Thanks, hope you can give me a hand.

    https://wordpress.org/plugins/live-stream-badger/

  2. Tadas Krivickas
    Member
    Plugin Author

    Posted 7 months ago #

    Hi,

    It's not related to the plugin. Do a text search in your theme on register_sidebar (where your theme registers sidebar) and edit the arguments before_title and after_title.

    An example:

    register_sidebar( array(
    		'name'          => __( 'Sidebar', 'dotalt3' ),
    		'id'            => 'sidebar-1',
    		'before_widget' => '<aside id="%1$s" class="widget %2$s">',
    		'after_widget'  => '</aside>',
    		'before_title'  => '<h3 class="widget-title">',
    		'after_title'   => '</h3>',
    	) );
  3. LucyNyu
    Member
    Posted 7 months ago #

    Thanks a lot! Finally managed to style everything. :)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.