Ready to get started?Download WordPress


[resolved] [Plugin: Print Friendly and PDF Button] Custom CSS not working (4 posts)

  1. svsdnb
    Posted 4 months ago #

    Hello. I have created my custom CSS to float the image to the left instead of center and also to add a width of 60% to shrink the image down. This however is not working. The css to hide the page title and source url is however working so I know it's reading the css file.

    I used the code from your site and even included !important. Can you please help?

    I'd like to make the image smaller and float left.

    /* This will align images to the left */
    #printfriendly img{
        margin-top: 12px;
        margin-right: 12px;
  2. kmaar
    Posted 1 month ago #

    First of all, the "!important" declaration needs to be before the semi colon - "float: left !important;"
    Secondly, I'm not sure which part you are trying to style, but the plugin markup is in 2 nested iframes and the custom css file will only be included in the innermost iframe.

  3. svsdnb
    Posted 1 month ago #

    First of all, I'm just following their instructions as they provided where they put !important outside of the semi colon.
    Secondly, again per their instructions this is placed in it's own style sheet called printfriendly.css.
    Thirdly, thanks for being abrasive and a douche in a 2 month old thread.

  4. saxamo
    Posted 1 month ago #

    Did you ever get this solved? I am trying to use the custom css as well and just add a height and width to the image. It does not seem to be calling the css file. I like the plugin but support for it is silly.

    Thanks for any information


You must log in to post.

About this Topic