Posted 30 October 2012 - 06:14 AM
I like this tiny look of Labels and Badges, so I want them to be clickable.
I know I can use Buttons but still want labels and badges for design purpose.
Is there a way to customize colors in them?
Posted 30 October 2012 - 08:45 AM
Labels like Buttons and Badges come in multiple colors, you can view all the colors available here -
Although, Labels and Badges don't support the function to be used as a link "Out of the Box", you could add HTML to create a link. However, you could simply use the button shortcode and use the mini button to have a similar effect.
Posted 30 October 2012 - 09:39 AM
there are only 6 colours available.
and yes, Id like to have clickable badges and labels.
what exactly needed to make them links?
Posted 30 October 2012 - 10:29 AM
To add a link to a label or badge you will need to use actual HTML and not the shortcode. See the example below.
To create custom colors, use the code above to add your custom class ( see label-purple ) this is a custom class and then use the custom CSS below to style the label and badge.
If you need to see other HTML code for labels and badges, visit this page -