WordPress.org

Ready to get started?Download WordPress

Forums

CleanPrint
[resolved] Remove Image Caption (2 posts)

  1. StefExakt
    Member
    Posted 1 year 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?

    http://wordpress.org/extend/plugins/cleanprint-lt/

  2. johncadams
    Member
    Plugin Author

    Posted 1 year 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

Tags

No tags yet.