Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-27929

Allow Space Stylesheet to work alongside Global Stylesheets

    • Icon: Suggestion Suggestion
    • Resolution: Answered
    • None
    • None
    • None
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      A space specific stylesheet causes the global stylesheet to be ignored. This means that there is no way to set any styles customers want respected at a global level and then tune their styles on a space by space basis. This means that in order to have space specific customizations customers must duplicate their global css into their individual spaces. This leads to duplication of effort whenever global styles need to be updated.

            [CONFSERVER-27929] Allow Space Stylesheet to work alongside Global Stylesheets

            I agree wholeheartedly with Felicity Chapman and Felicity Chapman .

            Laura Schneider added a comment - I agree wholeheartedly with Felicity Chapman  and Felicity Chapman  .

            I totally agree with Felicity Chapman :

            Please either fix this as described in the bug or allow us to simply define a link to a CSS file for each space. Either solution would make maintaining stylesheets for the needs of different spaces much easier.

            Having to copy-paste the global stylesheet to each and every customized space stylesheet is tedious and error-prone. And it happens every time you have to make global changes to the look in a site that includes a significant number of customized space stylesheets. Plus you need some extra trick to identify which spaces' stylesheets have been customized and which not.

            I don't understand how such a development could be so complicated that you have chosen not to do it for the past four years...

            Normand Brousseau added a comment - I totally agree with Felicity Chapman  : Please either fix this as described in the bug or allow us to simply define a link to a CSS file for each space. Either solution would make maintaining stylesheets for the needs of different spaces much easier. Having to copy-paste the global stylesheet to each and every customized space stylesheet is tedious and error-prone. And it happens every time you have to make global changes to the look in a site that includes a significant number of customized space stylesheets. Plus you need some extra trick to identify which spaces' stylesheets have been customized and which not. I don't understand how such a development could be so complicated that you have chosen not to do it for the past four years...

            johnmdev added a comment -

            You could always set up a global.css file which is @import-ed in the various space stylesheets. Yes, it is an extra step, but better than nothing.

            johnmdev added a comment - You could always set up a global.css file which is @import-ed in the various space stylesheets. Yes, it is an extra step, but better than nothing.

            BillA added a comment -

            Thank you for raising this issue. While we can see how this feature would be useful, we have no plans to implement it in the foreseeable future. In order to set expectations, we're closing this request now.

            Thanks again for your idea.

            Bill Arconati,
            Confluence Group Product Manager

            BillA added a comment - Thank you for raising this issue. While we can see how this feature would be useful, we have no plans to implement it in the foreseeable future. In order to set expectations, we're closing this request now. Thanks again for your idea. Bill Arconati, Confluence Group Product Manager

            Felicity Chapman added a comment - - edited

            I agree that this makes maintaining stylesheets much harder than necessary. In fact the global stylesheet is little more than a template for creating the stylesheet for new spaces. If you have any per-space customization, then any global change must be made to each individual space.

            Please either fix this as described in the bug or allow us to simply define a link to a CSS file for each space. Either solution would make maintaining stylesheets for the needs of different spaces much easier.

            It's impossible to look at a space and know whether or not it has a customized stylesheet. It would help if at least this information was available. I'm currently having to go through each space manually, copy the stylesheet into a text editor and save, before manually comparing all the stylesheets to find out which ones match the global stylesheet and which ones have been customized. Our system has only been running since September and we only have about 20 spaces so far, but even so this is not a good workflow.

            Felicity Chapman added a comment - - edited I agree that this makes maintaining stylesheets much harder than necessary. In fact the global stylesheet is little more than a template for creating the stylesheet for new spaces. If you have any per-space customization, then any global change must be made to each individual space. Please either fix this as described in the bug or allow us to simply define a link to a CSS file for each space. Either solution would make maintaining stylesheets for the needs of different spaces much easier. It's impossible to look at a space and know whether or not it has a customized stylesheet. It would help if at least this information was available. I'm currently having to go through each space manually, copy the stylesheet into a text editor and save, before manually comparing all the stylesheets to find out which ones match the global stylesheet and which ones have been customized. Our system has only been running since September and we only have about 20 spaces so far, but even so this is not a good workflow.

              Unassigned Unassigned
              dborcherding DanielA
              Votes:
              6 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: