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="http://cdn.printfriendly.com/printfriendly.js" 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>';and
$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.
Regards
Jens
The topic ‘Add Class for span’ is closed to new replies.