- Posts: 5
COMMUNITY FORUM
Edit Print Pop-up
- Paolo Orabona
-
Topic Author
- Offline
- New Member
Less
More
14 years 2 months ago #94286
by Paolo Orabona
Edit Print Pop-up was created by Paolo Orabona
Hi everyone, I'm newbie with K2 and I've a problem. I would like to remove some items from the article for printing like "related items by tag", "social sharig", " Tagged under", "rated item", ecc.
This is an current image of the print pop-up:
Thanks
This is an current image of the print pop-up:
Thanks
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
14 years 2 months ago #94287
by Yiota
Replied by Yiota on topic Edit Print Pop-up
There are 2 ways you can do this.
1) You can simply set these blocks a display:none statement to your CSS file using the body.contentpane as a distinction between the Print page and all the others. i.e. body.contentpane .itemToolbar {display:none;}
2) If you are using a template override, You go to the containers of each element you do not want to appear in the print page and you add to the if statement a condition for that page.
1) You can simply set these blocks a display:none statement to your CSS file using the body.contentpane as a distinction between the Print page and all the others. i.e. body.contentpane .itemToolbar {display:none;}
2) If you are using a template override, You go to the containers of each element you do not want to appear in the print page and you add to the if statement a condition for that page.
Please Log in or Create an account to join the conversation.
- Paolo Orabona
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
14 years 2 months ago #94288
by Paolo Orabona
Replied by Paolo Orabona on topic Edit Print Pop-up
I've to edit K2.css? What is body.contentpane? I'm sorry for this newbie question.
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
14 years 2 months ago #94289
by Yiota
Replied by Yiota on topic Edit Print Pop-up
If you edit k2.css on line 34 there is a statement that begins with body.contentpane.
Check if you have a k2.print.css and see if in that file there are CSS statements included.
Check if you have a k2.print.css and see if in that file there are CSS statements included.
Please Log in or Create an account to join the conversation.
- Paolo Orabona
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
14 years 2 months ago #94290
by Paolo Orabona
Replied by Paolo Orabona on topic Edit Print Pop-up
There isn't any k2.print.css in my k2's version. In k2.css there only this instruction
"body.contentpane #k2Container {padding:16px;}". What I have to do?
"body.contentpane #k2Container {padding:16px;}". What I have to do?
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
14 years 2 months ago #94291
by Yiota
Replied by Yiota on topic Edit Print Pop-up
Right under that write these:
body.contentpane a.itemPrintThisPage,body.contentpane div.itemHeader h2.itemTitle span sup,body.contentpane div.itemToolbar,body.contentpane div.itemRatingBlock,body.contentpane div.itemLinks,body.contentpane div.itemSocialLinksBlock,body.contentpane div.itemAttachmentsBlock,body.contentpane div.itemRelated,body.contentpane div.itemAuthorLatest,body.contentpane div.itemVideoBlock,body.contentpane div.itemImageGallery,body.contentpane div.itemNavigation {display:none;}
body.contentpane a.itemPrintThisPage,body.contentpane div.itemHeader h2.itemTitle span sup,body.contentpane div.itemToolbar,body.contentpane div.itemRatingBlock,body.contentpane div.itemLinks,body.contentpane div.itemSocialLinksBlock,body.contentpane div.itemAttachmentsBlock,body.contentpane div.itemRelated,body.contentpane div.itemAuthorLatest,body.contentpane div.itemVideoBlock,body.contentpane div.itemImageGallery,body.contentpane div.itemNavigation {display:none;}
Please Log in or Create an account to join the conversation.
- Paolo Orabona
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
14 years 2 months ago #94292
by Paolo Orabona
Replied by Paolo Orabona on topic Edit Print Pop-up
Thanks! I've put this instructions in the k2.css and it works:
#k2Container {padding:0 0 24px 0;}
body.contentpane #k2Container {padding:16px;} /* used in popups */
body.contentpane #k2Container itemAuthorLatest{display:none;}
body.contentpane #k2Container div.itemRatingBlock{display:none;}
body.contentpane #k2Container div.itemHeader span.itemAuthor{display:none;}
body.contentpane #k2Container ul.sig-container{display:none;}
body.contentpane #k2Container span.itemHits{display:none;}
body.contentpane #k2Container div.itemCategory{display:none;}
body.contentpane #k2Container div.itemTagsBlock{display:none;}
body.contentpane #k2Container div.itemSocialLinksBlock{display:none;}
body.contentpane #k2Container div.itemAuthorLatest{display:none;}
body.contentpane #k2Container div.itemRelated{display:none;}
body.contentpane #k2Container span.itemDateModified{display:none;}
body.contentpane #k2Container span.itemTextResizerTitle{display:none;}
body.contentpane #k2Container div.itemToolbar ul li a#fontDecrease img{display:none;}
body.contentpane #k2Container div.itemToolbar ul li a#fontIncrease img{display:none;}
body.contentpane #k2Container table.itemAudio{display:none;}
Thanks a lot for your tip! :D
#k2Container {padding:0 0 24px 0;}
body.contentpane #k2Container {padding:16px;} /* used in popups */
body.contentpane #k2Container itemAuthorLatest{display:none;}
body.contentpane #k2Container div.itemRatingBlock{display:none;}
body.contentpane #k2Container div.itemHeader span.itemAuthor{display:none;}
body.contentpane #k2Container ul.sig-container{display:none;}
body.contentpane #k2Container span.itemHits{display:none;}
body.contentpane #k2Container div.itemCategory{display:none;}
body.contentpane #k2Container div.itemTagsBlock{display:none;}
body.contentpane #k2Container div.itemSocialLinksBlock{display:none;}
body.contentpane #k2Container div.itemAuthorLatest{display:none;}
body.contentpane #k2Container div.itemRelated{display:none;}
body.contentpane #k2Container span.itemDateModified{display:none;}
body.contentpane #k2Container span.itemTextResizerTitle{display:none;}
body.contentpane #k2Container div.itemToolbar ul li a#fontDecrease img{display:none;}
body.contentpane #k2Container div.itemToolbar ul li a#fontIncrease img{display:none;}
body.contentpane #k2Container table.itemAudio{display:none;}
Thanks a lot for your tip! :D
Please Log in or Create an account to join the conversation.