Edit File by line
/home/barbar84/public_h.../wp-conte.../themes/twentyni...
File: print.css
/*
[0] Fix | Delete
Theme Name: Twenty Nineteen
[1] Fix | Delete
[2] Fix | Delete
Adding print support. The print styles are based on the the great work of
[3] Fix | Delete
Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272/.
[4] Fix | Delete
*/
[5] Fix | Delete
/*--------------------------------------------------------------
[6] Fix | Delete
>>> TABLE OF CONTENTS:
[7] Fix | Delete
----------------------------------------------------------------
[8] Fix | Delete
# Margins
[9] Fix | Delete
# Typography
[10] Fix | Delete
# Page breaks
[11] Fix | Delete
# Links
[12] Fix | Delete
# Visibility
[13] Fix | Delete
--------------------------------------------------------------*/
[14] Fix | Delete
@media print {
[15] Fix | Delete
/* Margins */
[16] Fix | Delete
@page {
[17] Fix | Delete
margin: 2cm;
[18] Fix | Delete
}
[19] Fix | Delete
.entry {
[20] Fix | Delete
margin-top: 1em;
[21] Fix | Delete
}
[22] Fix | Delete
.entry .entry-header, .site-footer .site-info {
[23] Fix | Delete
margin: 0;
[24] Fix | Delete
}
[25] Fix | Delete
/* Fonts */
[26] Fix | Delete
body {
[27] Fix | Delete
font: 13pt Georgia, "Times New Roman", Times, serif;
[28] Fix | Delete
line-height: 1.3;
[29] Fix | Delete
background: #fff !important;
[30] Fix | Delete
color: #000;
[31] Fix | Delete
}
[32] Fix | Delete
h1 {
[33] Fix | Delete
font-size: 24pt;
[34] Fix | Delete
}
[35] Fix | Delete
h2,
[36] Fix | Delete
h3,
[37] Fix | Delete
h4,
[38] Fix | Delete
.has-regular-font-size,
[39] Fix | Delete
.has-large-font-size,
[40] Fix | Delete
h2.author-title,
[41] Fix | Delete
p.author-bio,
[42] Fix | Delete
.comments-title, h3 {
[43] Fix | Delete
font-size: 14pt;
[44] Fix | Delete
margin-top: 25px;
[45] Fix | Delete
}
[46] Fix | Delete
/* Page breaks */
[47] Fix | Delete
a {
[48] Fix | Delete
page-break-inside: avoid;
[49] Fix | Delete
}
[50] Fix | Delete
blockquote {
[51] Fix | Delete
page-break-inside: avoid;
[52] Fix | Delete
}
[53] Fix | Delete
h1,
[54] Fix | Delete
h2,
[55] Fix | Delete
h3,
[56] Fix | Delete
h4,
[57] Fix | Delete
h5,
[58] Fix | Delete
h6 {
[59] Fix | Delete
page-break-after: avoid;
[60] Fix | Delete
page-break-inside: avoid;
[61] Fix | Delete
}
[62] Fix | Delete
img {
[63] Fix | Delete
page-break-inside: avoid;
[64] Fix | Delete
page-break-after: avoid;
[65] Fix | Delete
}
[66] Fix | Delete
table, pre {
[67] Fix | Delete
page-break-inside: avoid;
[68] Fix | Delete
}
[69] Fix | Delete
ul, ol, dl {
[70] Fix | Delete
page-break-before: avoid;
[71] Fix | Delete
}
[72] Fix | Delete
/* Links */
[73] Fix | Delete
a:link, a:visited, a {
[74] Fix | Delete
background: transparent;
[75] Fix | Delete
font-weight: bold;
[76] Fix | Delete
text-decoration: underline;
[77] Fix | Delete
text-align: left;
[78] Fix | Delete
}
[79] Fix | Delete
a {
[80] Fix | Delete
page-break-inside: avoid;
[81] Fix | Delete
}
[82] Fix | Delete
a[href^=http]:after {
[83] Fix | Delete
content: " < " attr(href) "> ";
[84] Fix | Delete
}
[85] Fix | Delete
a:after > img {
[86] Fix | Delete
content: "";
[87] Fix | Delete
}
[88] Fix | Delete
article a[href^="#"]:after {
[89] Fix | Delete
content: "";
[90] Fix | Delete
}
[91] Fix | Delete
a:not(:local-link):after {
[92] Fix | Delete
content: " < " attr(href) "> ";
[93] Fix | Delete
}
[94] Fix | Delete
/* Visibility */
[95] Fix | Delete
.main-navigation,
[96] Fix | Delete
.site-title + .main-navigation,
[97] Fix | Delete
.social-navigation,
[98] Fix | Delete
.site-branding-container:before,
[99] Fix | Delete
.entry .entry-title:before,
[100] Fix | Delete
.entry-footer,
[101] Fix | Delete
.author-description:before,
[102] Fix | Delete
.post-navigation,
[103] Fix | Delete
.widget-area,
[104] Fix | Delete
.comment-form-flex,
[105] Fix | Delete
.comment-reply,
[106] Fix | Delete
.comment .comment-metadata .edit-link {
[107] Fix | Delete
display: none;
[108] Fix | Delete
}
[109] Fix | Delete
.entry .entry-content .wp-block-button .wp-block-button__link,
[110] Fix | Delete
.entry .entry-content .button {
[111] Fix | Delete
color: #000;
[112] Fix | Delete
background: none;
[113] Fix | Delete
}
[114] Fix | Delete
/* Site Header (With Featured Image) */
[115] Fix | Delete
.site-header.featured-image {
[116] Fix | Delete
min-height: 0;
[117] Fix | Delete
}
[118] Fix | Delete
.site-header.featured-image .main-navigation a,
[119] Fix | Delete
.site-header.featured-image .main-navigation a + svg,
[120] Fix | Delete
.site-header.featured-image .social-navigation a,
[121] Fix | Delete
.site-header.featured-image .site-title a,
[122] Fix | Delete
.site-header.featured-image .site-featured-image a,
[123] Fix | Delete
.site-header.featured-image .site-branding .site-title,
[124] Fix | Delete
.site-header.featured-image .site-branding .site-description,
[125] Fix | Delete
.site-header.featured-image .main-navigation a:after,
[126] Fix | Delete
.site-header.featured-image .main-navigation .main-menu > li.menu-item-has-children:after,
[127] Fix | Delete
.site-header.featured-image .main-navigation li,
[128] Fix | Delete
.site-header.featured-image .social-navigation li,
[129] Fix | Delete
.site-header.featured-image .entry-meta,
[130] Fix | Delete
.site-header.featured-image .entry-title,
[131] Fix | Delete
.site-header.featured-image#masthead .site-title a {
[132] Fix | Delete
color: #000;
[133] Fix | Delete
text-shadow: none;
[134] Fix | Delete
}
[135] Fix | Delete
.site-header.featured-image .site-featured-image .entry-header,
[136] Fix | Delete
.site-header.featured-image .site-branding-container {
[137] Fix | Delete
margin-top: 0;
[138] Fix | Delete
margin-bottom: 0;
[139] Fix | Delete
}
[140] Fix | Delete
.site-header.featured-image .site-featured-image .post-thumbnail img {
[141] Fix | Delete
position: relative;
[142] Fix | Delete
height: initial;
[143] Fix | Delete
width: initial;
[144] Fix | Delete
object-fit: none;
[145] Fix | Delete
min-width: 0;
[146] Fix | Delete
min-height: 0;
[147] Fix | Delete
max-width: 100%;
[148] Fix | Delete
margin-top: 1rem;
[149] Fix | Delete
}
[150] Fix | Delete
/* Remove image filters from featured image */
[151] Fix | Delete
.image-filters-enabled *:after {
[152] Fix | Delete
display: none !important;
[153] Fix | Delete
}
[154] Fix | Delete
.image-filters-enabled .site-header.featured-image .site-featured-image:before {
[155] Fix | Delete
display: none;
[156] Fix | Delete
}
[157] Fix | Delete
.image-filters-enabled .site-header.featured-image .site-featured-image .post-thumbnail img {
[158] Fix | Delete
filter: none;
[159] Fix | Delete
}
[160] Fix | Delete
}
[161] Fix | Delete
[162] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function