Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to add custom logo to the repository side bar in the Bitbucket Server Plugin?

I am trying to add a custom logo to a new link that we have added in our side panel of the repository view in the Bitbucket Server Plugin, but cannot get the image to show. Is there anything additional I need to add? 

I found this example here and followed it but no joy. Any advice would be appreciated. Thank you!

My `atlassian-plugin.xml`

Web resource: 

<web-resource key="logo" name="Logo">
<resource type="download" name="icon.css" location="css/icon.css"/>
<resource type="download" name="Logo.svg" location="images/Logo.svg">
<param name="content-type" value="image/svg+xml"/>
</resource>
<context>bitbucket.repository.nav</context>
</web-resource>

Web item:

<web-item ....>
...
...
<param name="iconClass" value="aui-icon-large icon"
</web-item> 

CSS: 

.icon {
background-image: url("../images/Logo.svg")
}

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,930 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you