WordPress.org

Forums

Author Spotlight (Widget)
[resolved] widget title customize (2 posts)

  1. bartekwu
    Member
    Posted 2 years ago #

    I need help in customizing widget title. How and where should I add code f.e.

    $before_title = '<h3 class="widget-title" style="background-color:#222222;color:#ffffff;">';
    $after_title = '</h3>'; (which I have in others widgets)

    Or is it any other way to make this widget title custom background and font color?

    http://wordpress.org/extend/plugins/author-profile/

  2. Debashish
    Member
    Plugin Author

    Posted 2 years ago #

    The Widget doesn't define any style of its own for the Title (only the text is configurable), you can always define yoru onw style. An easy way is to add style for h3 (or for the widget-title class) in your WordPress theme stylesheet, something like

    h3 {
      background-color:#222222;
      color:#ffffff;
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Author Spotlight (Widget)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags