Nach Bildung

“Die arbeitenenden Klassen streben nach Bildung, weil sie sie für ihren Sieg brauchen”

Labour and knowledge is a source of success in every profession. If you have no talent, then—learn, read, study, practice and work as much as you are able. It really helps to succeed.

Tuesday, 19 February 2013

Removing comma in between labels in Blogger


Sometimes, designing our templates we give style to labels where a comma placed in between them just destroys the visual look. It is extremely easy to remove a comma. Here is a small tip for those who do not know about this tiny trick. On this very blog the comma in between labels is pretty to the point but on the screenshot below the labels would look a little bit worse if we preferred to keep the commas.

remove comma in between labels in Blogger

Remove comma easily!

All you need to do is just to go to Template–Edit HTML–Expand Template Widgets and find this piece of code:



As you see, there is a comma placed under command b:if cond='data:label.isLast != "true" which if to translate to human language says: "If a label is the last one in the list of labels, do not put comma, otherwise do put". So, simple deletion of this command, or even simpler–comma itself from this line of code will lead to absence of commas in between all labels in your list.

Small tip: in order to find easier the required piece of code use ctrl+F command on your keyboard.


Post a Comment