• Resolved mike1970

    (@mike1970)


    hello,

    i cant link to my calendar, because its not public and its showing personal details.
    one big problem is to print a list with names and telephonnumbers showed in the detail view from the event.

    how can i make a printable output for the detail view and NOT for the calendar grid?

    Screenshot

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    You can make a print view of any page using print CSS – here’s some general information on that:

    https://codex.wordpress.org/Styling_for_Print

    Thread Starter mike1970

    (@mike1970)

    yes thanks!

    it works ..
    Print List – Screenshot

    but all days are displayed with MOMONTAG DIDIENSTAG MIMITTWOCH DODONNERSTAG etc.
    and the date is 44.Juni 55.Juni 66. Juni etc.

    Please look at this Screenshot

    what is wrong ? it is a css error ?

    table {
    border: 1px solid #ddd;
    border-collapse: collapse;
    margin: 0 auto;
    width: 100%;
    }

    th {
    text-align: center;
    background: #f6f6f6;
    border: 1px solid #ddd;
    width: 130px;
    text-transform: uppercase;
    }

    td {
    border: 1px solid #ddd;
    font-size: 12px;
    vertical-align: top;
    width: 14.285%;
    height: 4em;
    }

    @media print {
    body {background:white;
    font-size:10pt;
    margin:0; }
    #sidebar { display:none; }
    #header { height:75px; }
    #content{ margin-left:0;
    float:none;
    width:auto;
    display:none;}
    #footer, .ad { display:none; }

    }

    • This reply was modified 5 years, 10 months ago by mike1970.
    Plugin Author Joe Dolson

    (@joedolson)

    No, you’ll just need to add additional CSS to cover those items. Those are screen-reader specific alternatives, so that users with disabilities get the full date information rather than just the abbreviated version; for print, you can just add something like

    .screen-reader-text { display: none; }

    Best,
    Joe

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HowTo disable the header and footer in detail view ?’ is closed to new replies.