Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the Sidebar when "Creating a Stylesheet Theme"?

Hauke Hörhold
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 23, 2018

Hello,

I'm trying to build an own Confluence 6.1.2 Theme with a normal Sidebar, like the Default Theme (not the Basic Theme!).

I found this Tutorial ( https://developer.atlassian.com/server/confluence/creating-a-stylesheet-theme/ ) to create a very simple Theme only with CSS-Changes (what would be enough for now).

But when activating it, the Sidebar is gone! I tried to change the class in the theme-Tag from class="com.atlassian.confluence.themes.BasicTheme" to class="com.atlassian.confluence.themes.DefaultTheme". This brings back the lost Sidebar, but my CSS Styles won't work anymore.

I found another Tutorial for creating own themes for Confluence, but theres exactly the same problem.

What can I do to activate the Sidebar? Any ideas?

This is how the "atlassian-plugin.xml" looks like:

<atlassian-plugin name="Easy Blue Theme" key="com.atlassian.confluence.ext.theme.easyblue">
  <plugin-info>
    <description>A Confluence theme with soft gradients and easy blue colours.</description>
    <vendor name="Atlassian Software Systems Pty Ltd" url="http://www.atlassian.com"/>
    <version>1.1</version>
  </plugin-info>

  <theme key="easyblue" name="Easy Blue Theme" class="com.atlassian.confluence.themes.BasicTheme">
    <!-- CSS -->
    <resource type="download" name="default-theme.css" location="/includes/css/default-theme.css">
        <param name="source" value="webContext"/>
    </resource>
    <resource type="download" name="easy-blue-theme.css" location="easy-blue-theme.css"/>
    
    <!-- Images -->
    <resource type="download" name="divider.png" location="divider.png"/>
    <resource type="download" name="gradient-comment-side-light.png" location="gradient-comment-side-light.png"/>
    <resource type="download" name="gradient-comment-side.png" location="gradient-comment-side.png"/>
    <resource type="download" name="gradient-comments-light.png" location="gradient-comments-light.png"/>
    <resource type="download" name="gradient-comments.png" location="gradient-comments.png"/>
    <resource type="download" name="gradient-dark-invert.png" location="gradient-dark-invert.png"/>
    <resource type="download" name="gradient-dark.png" location="gradient-dark.png"/>
    <resource type="download" name="gradient-light.png" location="gradient-light.png"/>
    <resource type="download" name="home-16.png" location="home-16.png"/>

    <param name="includeClassicStyles" value="false"/>
    <resource key="icon" name="themeicon.gif" type="download" location="theme-icon.gif"/>
  </theme>
</atlassian-plugin>

Thank you very much!

1 answer

0 votes
Heiko Treuner March 19, 2025

Hi @Hauke Hörhold ,

i would kindly ask what was the solution?

I habe the exact same behavior:)

THX,

Heiko

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events