Support » Theme: Sinatra » Sociallinks in header

  • Resolved phoenixgalerie

    (@phoenixgalerie)


    Is it possible to place this Menu in the header also next to the search and chart icon ?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • hzlateska

    (@hzlateska)

    Hey @phoenixgalerie,

    The theme currently does not have an option for that, but if you are familiar with coding you can use sinatra_header_widgets_before_left hook to add your own content.

    You can add this snippet to your child theme’s functions.php file:

    function my_custom_header_widget_socials() {
    	$options = array(
    		'menu' => 'Social Links'
    	);
    
    	sinatra_social_links( $options );
    }
    add_action( 'sinatra_header_widgets_before_left', 'my_custom_header_widget_socials' );

    You can also use sinatra_header_widgets_before_right hook to add your custom widget to the right side.

    Please note that sinatra_header_widgets_before_left and sinatra_header_widgets_before_right hooks were added in Sinatra v1.1.0 so make sure you are using that version or higher.

    Thanks!

    Thread Starter phoenixgalerie

    (@phoenixgalerie)

    That works perfect !!!!

    Thank you for your effort, Another adittion to my site.

    Theme Author sinatrateam

    (@sinatrateam)

    Resolving this issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sociallinks in header’ is closed to new replies.