[resolved] Remove Image Caption (2 posts)

  1. StefExakt
    Posted 3 years ago #

    Is there a way I can remove the image captions (really they are alt tags associated with the images) from showing up on the print view?

    I tried adding this to my stylesheet
    .cpf-printOut-body-content-img-caption {display:none !important;}

    But the printer plugin seems to be ignoring it.

    Any suggestions?


  2. johncadams
    Plugin Author

    Posted 3 years ago #

    We look at a number of items to deduce the caption: alt and title attributes plus a few other hints when we identify text near an image.

    The simplest solution would be to remove the alt attribute but I'm guessing you've considered that already. The CSS solution won't work as the stylesheet needs to be inside our iframe to work (the plug-in doesn't use it).

    Do you have a URL I could look at?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.