Hey, I made new buttons to replace the default Home, Search, Calendar, etc buttons. The icons will be forming one long bar so I don't want to spaces in between. I looked in the php code and see something called menu_separator and I think that's what is creating the space in between each image. How can I remove this without getting a template error message?
How does your code look now? when you get parsing errors?
// Show the [home] and [help] buttons.
echo '
<a href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'],'
<a href="', $scripturl, '?action=help">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.gif" alt="' . $txt[119] . '" style="margin: 2px 0;" border="0" />' : $txt[119]), '</a>', $context['menu_separator'];
// How about the [search] button?
if ($context['allow_search'])
echo '
<a href="', $scripturl, '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/search.gif" alt="' . $txt[182] . '" style="margin: 2px 0;" border="0" />' : $txt[182]), '</a>', $context['menu_separator'];
I've tried removing the menu_separator, and adjusting the margin from 2px to 0 and still no luck. I've also tried deleting all of the spaces in between the closing "/a>" tags. Spaces remain :-\