0

In Confluence Server deployment can give custom CSS file.

General Configuration -> Security Configuration -> Custom Stylesheet for spaces Can be enabled. When I view source the confluence page I can see CSS inline attributes. For example

{"serverDuration": 148, "requestCorrelationId": "cfc0fae0d17c7e90"}

How Can I completely get rid of css inline attributes replacing CSS classes ?

1 Answer 1

1

That's not CSS attributes, it's some performance related information hidden on the page.

The velocity macro which generates it is:

#macro (confluenceServerPerformanceSpan)
    <span style="display:none;" id="confluence-server-performance">{"serverDuration": $generalUtil.getServerRenderTime($req).toMillis(), "requestCorrelationId": "$generalUtil.getRequestCorrelationId()"}</span>
#end
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.