How can i change direction of specific page (using modify storage format) to enable RTL on that page?
FYI:don’t want to enable rtl on whole space!
any idea?
Thanks
As you’re on server/DC, this could be done with a user macro that adds some CSS:
<style> #content {direction: rtl; }</style>
This should add the rtl direction on just the page content rather than the whole of the Confluence UI.
@David at David Simpson Apps How can i do this without macro? What should i add to source of page to enable rtl?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you have the HTML macro enabled, simply add that and paste in:
<style>
html #content {
direction: rtl;
}
</style>
This will swap the direction as required.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK, you could try installing user macros. Ask your friendly Confluence admin. Here's one for each direction.
## Macro: html-direction-rtl
## Macro title: HTML Direction RTL
## Macro has a body: N
## Body processing: n/a
## Output: HTML
##
## Developed by: David Simpson <david@davidsimpson.me>
## Date created: 2022-03-10
## Installed by: My Name
## @noparams
<style>
html #content {
direction: rtl;
}
</style>
## Macro: html-direction-ltr
## Macro title: HTML Direction LTR
## Macro has a body: N
## Body processing: n/a
## Output: HTML
##
## Developed by: David Simpson <david@davidsimpson.me>
## Date created: 2022-03-10
## Installed by: My Name
## @noparams
<style>
html #content {
direction: ltr;
}
</style>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.