WordPress.org

Forums

Print Friendly and PDF Button
specify height and width attribute of custom image button (2 posts)

  1. davidebabylonia
    Member
    Posted 11 months ago #

    Hi, I am using my own image as print button but the plugin does not output the width and height attributes in the html generated for the page, where I can specify it manually? I searched a few files but it seems I didn't find the src link to my image where to add those, thanks!

    https://wordpress.org/plugins/printfriendly/

  2. aisajib
    Member
    Posted 11 months ago #

    If you're using custom image for the button, the image size (original image file) needs to be the exact size that you want to be displayed at on the page. You can resize the image to the exact size of the button, upload the image file to your server and add that image URL to PrintFriendly and PDF plugin settings page.

    Hope that helps.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.