On the badge system, in the post bit it shows as many badges as what the user has got on one line, how can I edit this to only show 3 per line but show all awards?
Can you provide a link to the award system you use please?
Or at least the author/website/plugin name.
Pd: Wrong forum?
I think you can't do it. But maybe forcing the width using css may works. Try on your postbit or postbit_classic:
Find:
{$post['awards']}
Replace:
<div style="max-width:150px;">{$post['awards']}</div>
So if all your awards are
50wx
20h this will break the images down every 3 awards.
Again, I don't know if it will works but it is the only idea I have...
Nope didn't work
Bump - Can anyone else help?
Based on the PHP that I know, you'd have to either limit the MySQL query that calls the badges to 3, or change the width and use word wrap or something.
Also, it would be.
<span style="max-width: 150px;">
it might not be possible by a simple code modification
anyway, site URL please.. (let me check)