Skip to end of metadata
Go to start of metadata

Dear Adaptavist,

I have theme builder 3.3.6 running Confluence 3.0.1.

I would like to have the Edit|Add|Tools menu on the right hand side of the navigation section.

However, when I try to do this, it puts a border around the Edit|Add|Tools menu which I don't want.

In Theme Builder I'm using the menu skin ' System' - which could be the issue.

Theme Builder > Manage Layouts > Layout > Navigation > Content

This is my code:

{table:width=100%|cellpadding=0|cellspacing=0|border=0}
{tr}
{td:valign=middle}
{builder-breadcrumbs}
{td}
{td:align=right|valign=middle}
{builder-show:context=page,blogpost|mode=view}
   {menubar}
    {compound-menuitem:edit|caption=Edit|icon=pencil2|size=14px}
    {menuitem}{menuicon:add2|size=14px}Add
     {wikimenu}{webui-list:system.content.add|separators=true}{wikimenu}
    {menuitem}
    {menuitem}{menuicon:gear|size=14px}Tools
     {wikimenu}{webui-list:system.content.action|separators=true}{wikimenu}
    {menuitem}
   {menubar}
{td}
{tr}
{table}



Any pointers would be appreciated - even if its to tell me it can't be done.

Regards,

Mohamed.

  • No labels

2 Comments

  1. Unknown User (tsmori)

    I accomplished this by doing the following:

    Add class=tools to your menubar macro, i.e.

    {menubar:class=tools}
    

    Then in your custom css, add:

    
    .tools .dynarch-horiz-menu table tr td.active,
    .tools .dynarch-horiz-menu table tr td.hover,
    .tools .dynarch-horiz-menu table tr td.pressed { 
         border: none; 
         padding: 2px 10px;
    }
    

    You may need to adjust the padding. I had to add that to make the text stop moving when you mouseover it.

    1. Unknown User (mo)

      Thank you Tim