CSS For Confluence 4.X

Last modified by Normann P. Nielsen on 2013/01/08 22:07

In general, this is kind of reverse engineering and some test, fail, test until everything looks ok in browsers emoticon_smile I have not found a CSS reference for Confluence.

See the CSS Styling Samples for Confluence 4.X pages for some sporadic examples

 Theme Object CSS style Comment
 Easy Reader Width of Site #full-height-container { width:1200px; } Change from 980px to 1200px
 All Hide menu .ajs-menu-bar { display:none; } Can be used with the Visibility Plugin to hide menu for Anonymous users
 All Hide Likes and Labels .likes-and-labels-container { display: none; } Can be used with the Visibility Plugin  to hide menu for Anonymous users
 All Top header background #com-atlassian-confluence #header
{ background-filename url('http://www.mysite.dk/download/attachments/4161541/top_gul.jpg') }
 
 All Metadata (attachments, changed time etc) .page-metadata { display: none; } 
 All More links .more-link-container, .more-link-base 
  recently-updated macro .recently-updated-concise .update-item-desc, .recently-updated-concise .update-item-date, .recently-updated-concise .update-item-changes { display:none; } Hide different part of text rendered from the macro