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

  1. LucyNyu
    Posted 2 years 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.


  2. Tadas Krivickas
    Plugin Author

    Posted 2 years ago #


    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
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Live Stream Badger
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.