Support » Plugin: Print, PDF, Email by PrintFriendly » Add Class for span

  • Hello,

    I wantet to float the Print-Button, so I added a class (wrap-pf) to the surrounding span-Element.

    This was neccessary at two positions in the code:
    $button = '<script src="" type="text/javascript"></script><span class="wrap-pf" onclick="window.print(); return false;" style="'.$style.' text-decoration: none; outline: none; color: '.get_option('pf_text_color').'; cursor:pointer;">'.pf_button().'</span>';


    $button_link = '<span style="'.$style.'" class="wrap-pf"><a href="'.$plink_url.$separator.'" rel="nofollow" style="text-decoration: none; outline: none; color: '.get_option('pf_text_color').';">'.pf_button().'</a></span>';

    in pf.php.

    Maybe you could add something like this with your next update to give people the opportunity to position the button the way they want to.



Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Add Class for span’ is closed to new replies.