Hi Team,
I am trying to add CSS Stylesheet macro in a page via wiki format {style}, like any other macro but the same is not working. Can anyone guide me what i am doing wrong.
The markup i am trying to add is :-
{style}h2, .toc-macro ul li a {text-transform: capitalize;}{style}
But i am getting an error (unrecognized macro) whereas {code}, {toc} works perfectly fine.
Regards,
Dev
Hi Dev,
I tried using the HTML macro instead of style macro and it worked. I was trying to color a button in the confluence. I used the below code in the wiki markup and it worked:
{html}<style>form.aui .button.active, form.aui .button:active, form.aui .button:focus, form.aui .button:hover, form.aui .button {background-color: #ff8c26 !important; color: #FFFFFF !important;}</style> {html}
Regards,
Raunak
Dev,
I'm almost new to Confluence; I'm at the end of only my second week of working for this employer, and this is the first employer where I've used it.
I don't think you can implement a CSS stylesheet without actually licensing the CSS Stylesheet macro. I am looking to have my employer license this, too, so I've been all over the user forums about it.
Generally, it seems like you can't use the wiki markup to insert anything for which you don't have the right to run the macro.
Best of luck,
Pat O'Connell
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.