We're using the default (as opposed to the documentation) theme for all our spaces. We like the sidebar provided by the default theme and would prefer to keep it. However, one thing we really like better in the documentation theme is the way the pages appear to be limited in width and centered in the page window.
So with that in mind, here's my question: Is there a way in CSS (or other stylesheets) to limit the width and center the page, but otherwise keep the default theme (and do it on a space by space basis)? I was able to modify the space CSS to limit the width, but the page is left-justified, with a big gray bar running down the right side of the screen when on a bigger monitor.
Thanks,
Jason
Jason,
You should be able to accomplish this in CSS by adding auto margins to the left and right of the element being limited in width. Example:
.element_being_centered{ margin-left: auto; margin-right: auto; width: 70%; }
Cheers,
Stephen Brannen | Confluence Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.