I’m facing a problem considering the Info/Warning/Success etc. boxes. The background color is not being displayed correctly. It seems like it is just overwritten by the Wiki background color. When I’m looking at the Theme Preview, everything is fine though.
I uploaded some Screenshots to show you what I mean. This is how it looks in Preview:
I tried refreshing browser cache and using the advanced part of the theme editor without success.
I can do changes to other parts of the theme (for example change navigation bar bg color) which are correctly applied. But once I try to change the background color of the info/warning etc. boxes it just won’t work.
I also tried using different themes and changing them. The background color is always correct in the previews but it is not changed in the Wiki after applying the theme.
OK, after a bit more research I found the following.
The issue seems to be coming from the ExtensionSheet as shown in the browser debugger below (the .successmessage class is not defined here which is why that still works)
With everything left as is the successmessage box shows OK but the other 3 do not ( I can only add one image to this post so will add them after this post).
If I remove the checkbox next to the background-color then they display as expected
I’m just not sure where on the server I need to make the edit to resolve the issue properly, any advise?
To fix this, you could either uninstall this extension if you don’t use it or try editing the ExtensionCode.ExtensionSheet page using the object editor and change the StyleSheetExtension xobject to use “on demand” instead of “always” (I’ve not tried it, it could have some side effects on the Repository app’s styling).
Thank you @vmassol. I have removed the Extension Repository Application (was trying to mimic the Code Snippets Application from XWiki.Org) for now and it’s working as expected. I will report a bug for it and if I find the time will have a look at editing it on my dev server.
Use Shortkey x+x+x+h to display hidden pages.
Then search for “Extension Sheet” page and click on it.
Go to Edit -> Objects
Click on “StyleSheetExtension 0: Extension CSS”, go to “Use this Extension” and select “On demand only” then save the page.