This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Reply To: Adding a Widget to Header Right

#1010
sharonq
Participant

Figured out that I use CSS to style the widget and now have a lovely widget to the right of my header 🙂

I tried to add a second widget above the header and almost got it – the widget is there but when I look at it with Firebug the div seems to have a generic name “widget area” rather than a specific one – which makes styling complicated. Did I miss something in the php?

This is what I added:

/**
 * My header before
 */
function my_header_before() {
	themeblvd_display_sidebar( 'my_header_before_widget_area' );
}
remove_all_actions( 'themeblvd_header_before' );
add_action( 'themeblvd_header_before', 'my_header_before' );

This is what I see in Firebug

Login, Logout, Facebook, Twitter, Linked In
  • This reply was modified 7 years, 9 months ago by sharonq.
  • This reply was modified 7 years, 9 months ago by sharonq.