Author Topic: change spaces between PDF, e-mail and print icon  (Read 1901 times)

arjenb

  • Beginner
  • *
  • Posts: 3
change spaces between PDF, e-mail and print icon
« on: February 08, 2009, 13:18:00 pm »
How can I have (more) white spaces between the buttons print, pdf en e-mail.

Where can I change that?

Kind regards, Arjen

.wired

  • Beginner
  • *
  • Posts: 7
Re: change spaces between PDF, e-mail and print icon
« Reply #1 on: February 08, 2009, 13:26:12 pm »
I think this isn't a VirtueMart question, but you could do this with css. Just look, which classes the images have and give them margin. You can look this up easily with firebug

regards, .wired

Argos

  • Beginner
  • *
  • Posts: 14
Re: change spaces between PDF, e-mail and print icon
« Reply #2 on: August 10, 2009, 18:05:14 pm »
edit the file /components/com_virtuemart/themes/default/templates/common/buttons.tpl.php

and instead of this code:
Code: [Select]
<?php echo vmCommonHTML::PdfIcon$pdf_link ); ?>
<?php echo vmCommonHTML::PrintIcon(); ?>
<?php echo vmCommonHTML::EmailIcon($product_id); ?>

change to this:
Code: [Select]
<?php echo vmCommonHTML::PdfIcon$pdf_link ).' '?>
<?php echo vmCommonHTML::PrintIcon().' '?>
<?php echo vmCommonHTML::EmailIcon($product_id); ?>

the .' ' part adds the white spaces.