Hi,
I need to set an alt-text on the site-logo (not the space-logo) in confluence 7.4.4
I'm using the Refined App - but the site logo stems from confluence own site logo and favicon settings.
Any help would be appreciated.
Hi,
It is possible to run javascript that would add the alt text on the site logo. This is of course quite a workaround but technically it is possible.
Best regards,
Janette [Refined]
Thank you Janette,
Any ideas on how and where?
Google has led me to:
<script type="text/javascript">
AJS.toInit(function() {
AJS.$('.aui-header .aui-header-logo img').prop('alt', 'Site Logo');
});
</script>
I tried to put it in the header - but that didn't work.
Sorry for the follow-up question
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Under Refined Configuration and Themes tab, there is an option to add HTML code where you can add the javascript. I would make use of jquery, both for making sure the code gets executed after page load and for targeting and modifying the elements.
I looked a little bit further into the functionality and I will raise an improvement suggestion to include the alt text in Refined. I can't make any promises that it gets implemented but I can post an update here if it is!
Best regards,
Janette [Refined]
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.