Force line break in Recent Posts sidebar titles?
-
Greetings. First things first, I’m new here and know very little about PHP, but appreciate suggestions!
I’m wondering how I can force my Recent Posts sidebar titles to line break before a specific character. You see how they currently break due to the div’s width limit. I want to be more precise to give it a more orderly look. Spe
Eg. of how I’d like it to change:
From
—–
Essential Electronic : March 5-11,
‘07To
—–
Essential Electronic
: March 5-11, ‘07 (where the code forces a new line before every “:” character)I’ve done a lot of searching but cannot find the right code/hack or plug in to complete this. Is this possible? My current code for this is
<?php wp_get_archives('type=postbypost&limit=10&format=html'); ?>
Thanks in advance.
- The topic ‘Force line break in Recent Posts sidebar titles?’ is closed to new replies.