ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Taking smilies and images out of print template

January 06, 2008 12:57am

Subscribe [2]
  • #1 / Jan 06, 2008 12:57am

    celeritycat

    19 posts

    I have created a print template with limited styling and it works great. One problem, I am trying to omit the images and smilies? So when they click print it is just the artcle that open in the print template? Any suggestions,anyone?

  • #2 / Jan 07, 2008 2:07am

    asozzi

    262 posts

    The easiest solution would be using CSS to disable all images. Something like this CSS :

    img {
      display : none;
    }

    would remove ALL images, except the CSS background images, those you would have to remove manually.

    I usually just remove the divs that contain non essential images.

  • #3 / Jan 08, 2008 2:32am

    celeritycat

    19 posts

    The easiest solution would be using CSS to disable all images. Something like this CSS :

    img {
      display : none;
    }

    would remove ALL images, except the CSS background images, those you would have to remove manually.

    I usually just remove the divs that contain non essential images.

    Thanks! Never had to do it before and can’t believe how simple, but appreciate the help very much!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases