
---
title: "Thesis Quick Tip — How To Place The Logo In Thesis Sidebar"
date: 2012-09-20
author: "Rachael Kurt"
featured_image: "https://www.converticacommerce.com/wp-content/uploads/2013/12/logo.jpg"
categories:
  - name: "UX UI Front-end Development"
    url: "/category/ux-ui-frontend-design.md"
tags:
  - name: "Thesis WordPress Theme Framework"
    url: "/tag/thesis-wordpress-theme-framework.md"
---

# Thesis Quick Tip — How To Place The Logo In Thesis Sidebar

![](https://www.converticacommerce.com/wp-content/uploads/2012/09/logo.jpg)The logo being the part of the header is placed in the header itself. But if you want you can replace the logo anywhere in the theme, i.e. before header, after header or even in the sidebar.

In one of the recent projects we had a chance to experiment with adding the logo in the sidebar. And here is the code for the same. Fire up custom\_functions.php and add the following code:

```


function sb_header()
{
?>
<p id="logo"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></p>
<h1 id="tagline"><?php bloginfo('description'); ?></h1>
<?php
}
remove_action('thesis_hook_header', 'thesis_default_header');
add_action('thesis_hook_before_sidebar_1', 'sb_header');


```

The above code actually replaces the default Thesis header (which includes the logo &amp; tagline) with its exact replica which is required to be placed at a different location. So first you need to remove the default header with *remove\_action()* and then you add the *logo and tagline* to new location (sidebar in this case) as the second step.

Have you tried to relocate the logo in your theme?