Add a My Recognition widget to user profiles.
<div class="axero-widget {{CustomCSSClass}} {{#if HideContainerBorder}}axero-widget-no-border{{/if}}"> {{#if ShowWidgetHeader}} <div class="axero-widget-header"> <h3>{{{WidgetTitle}}}</h3> </div> {{/if}} <div class="axero-widget-content axero-widget-content-padded axero-award-list axero-earned-award-list axero-my-recognition"> <ul class="badges-earned-list axero-award-list-ul"> {{#each Contents}} <li class="axero-award-list-li"> <a href="{{ContentURL}}" title="{{{Title}}}"><img src="{{ContentImageURL}}" alt="{{{Title}}}" /></a> </li> {{/each}} </ul> </div> {{#if ShowWidgetFooter}} <div class="axero-widget-footer"> {{{FooterHTML}}} </div> {{/if}} </div>
Add the following code.
/*My Recognition widget*/ .axero-widget-content.axero-my-recognition ul.badges-earned-list li {width: 20%}
I, a person who is not tech-savvy, followed this and it worked! Thank you! The only issue is our icons are super small? I changed the number visible to a smaller number to see if they enlarged, but they did not. Any suggestions?
Hi Tiffany,
Did you add the CSS code to CSS overrides?
Grace
Well, I did - but that could be where my tech-savvy issues shine through. I may have did that wrong. Thank you!
I must be doing something wrong with adding this code. I've tried several times and refreshed my screen, still small.
The block above was missing its closing brace, so the style for the My Recognition widget wasn't being applied.
I added the closing brace, and the badges are the correct size now.
Please enable JavaScript to use file uploader.
is requesting access to a wiki that you have locked: https://my.axerosolutions.com/spaces/5/communifire-documentation/wiki/view/80112/my-recognition-widget