Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-conte.../themes/herald/assets/css
File: dynamic-css.php
[1000] Fix | Delete
?>
[1001] Fix | Delete
[1002] Fix | Delete
.herald-responsive-header,
[1003] Fix | Delete
.herald-mobile-nav,
[1004] Fix | Delete
.herald-responsive-header .herald-menu-popup-search .fa{
[1005] Fix | Delete
color: <?php echo esc_attr( $color_header_responsive_txt ); ?>;
[1006] Fix | Delete
background: <?php echo esc_attr( $color_header_responsive_bg ); ?>;
[1007] Fix | Delete
}
[1008] Fix | Delete
.herald-responsive-header a{
[1009] Fix | Delete
color: <?php echo esc_attr( $color_header_responsive_txt ); ?>;
[1010] Fix | Delete
}
[1011] Fix | Delete
.herald-mobile-nav li a{
[1012] Fix | Delete
color: <?php echo esc_attr( $color_header_responsive_txt ); ?>;
[1013] Fix | Delete
}
[1014] Fix | Delete
.herald-mobile-nav li a,
[1015] Fix | Delete
.herald-mobile-nav .herald-mega-menu.herald-mega-menu-classic>.sub-menu>li>a{
[1016] Fix | Delete
border-bottom: 1px solid <?php echo herald_hex2rgba($color_header_responsive_txt, 0.15); ?>;
[1017] Fix | Delete
}
[1018] Fix | Delete
.herald-mobile-nav{
[1019] Fix | Delete
border-right: 1px solid <?php echo herald_hex2rgba($color_header_responsive_txt, 0.15); ?>;
[1020] Fix | Delete
}
[1021] Fix | Delete
[1022] Fix | Delete
.herald-mobile-nav li a:hover{
[1023] Fix | Delete
color: #fff;
[1024] Fix | Delete
background-color: <?php echo esc_attr( $color_header_responsive_acc ); ?>;
[1025] Fix | Delete
}
[1026] Fix | Delete
[1027] Fix | Delete
.herald-menu-toggler{
[1028] Fix | Delete
color: <?php echo esc_attr( $color_header_middle_txt ); ?>;
[1029] Fix | Delete
border-color: <?php echo herald_hex2rgba($color_header_responsive_txt, 0.15); ?>;
[1030] Fix | Delete
}
[1031] Fix | Delete
[1032] Fix | Delete
.herald-goto-top{
[1033] Fix | Delete
color: <?php echo esc_attr( $color_content_bg ); ?>;
[1034] Fix | Delete
background-color: <?php echo esc_attr( $color_content_title ); ?>;
[1035] Fix | Delete
}
[1036] Fix | Delete
.herald-goto-top:hover{
[1037] Fix | Delete
background-color: <?php echo esc_attr( $color_content_acc ); ?>;
[1038] Fix | Delete
}
[1039] Fix | Delete
[1040] Fix | Delete
.herald-responsive-header .herald-menu-popup > span,
[1041] Fix | Delete
.herald-responsive-header .herald-search-active > span{
[1042] Fix | Delete
color: <?php echo esc_attr( $color_header_responsive_txt ); ?>;
[1043] Fix | Delete
}
[1044] Fix | Delete
.herald-responsive-header .herald-menu-popup-search .herald-in-popup{
[1045] Fix | Delete
background: <?php echo esc_attr( $color_content_bg ); ?>;
[1046] Fix | Delete
}
[1047] Fix | Delete
.herald-responsive-header .herald-search-input,
[1048] Fix | Delete
.herald-responsive-header .herald-menu-popup-search .herald-search-submit{
[1049] Fix | Delete
color: <?php echo esc_attr( $color_content_txt ); ?>;
[1050] Fix | Delete
}
[1051] Fix | Delete
[1052] Fix | Delete
/* WooCommerce styles */
[1053] Fix | Delete
[1054] Fix | Delete
<?php if( herald_is_woocommerce_active() ) : ?>
[1055] Fix | Delete
[1056] Fix | Delete
.woocommerce ul.products li.product .button,
[1057] Fix | Delete
.woocommerce ul.products li.product .added_to_cart,
[1058] Fix | Delete
.woocommerce div.product form.cart .button,
[1059] Fix | Delete
body.woocommerce .button,
[1060] Fix | Delete
body.woocommerce .button:hover,
[1061] Fix | Delete
body.woocommerce-page .button,
[1062] Fix | Delete
body.woocommerce-page .button:hover,
[1063] Fix | Delete
.woocommerce .widget_price_filter .ui-slider .ui-slider-range,
[1064] Fix | Delete
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle,
[1065] Fix | Delete
.woocommerce a.button.alt,
[1066] Fix | Delete
.woocommerce a.button.alt:hover,
[1067] Fix | Delete
.woocommerce-checkout #place_order,
[1068] Fix | Delete
.woocommerce .widget_shopping_cart_content .buttons .button,
[1069] Fix | Delete
.woocommerce #respond input#submit,
[1070] Fix | Delete
.woocommerce #respond input#submit:hover{
[1071] Fix | Delete
background-color: <?php echo esc_attr( $color_content_acc ); ?>;
[1072] Fix | Delete
}
[1073] Fix | Delete
.woocommerce-pagination{
[1074] Fix | Delete
border-top: 1px solid <?php echo herald_hex2rgba( $color_content_title , 0.1); ?>;
[1075] Fix | Delete
}
[1076] Fix | Delete
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{
[1077] Fix | Delete
border-bottom: 2px solid <?php echo esc_attr( $color_content_acc ); ?>;
[1078] Fix | Delete
}
[1079] Fix | Delete
.woocommerce-cart table.cart td.actions .coupon .input-text{
[1080] Fix | Delete
border-color: <?php echo herald_hex2rgba( $color_content_title , 0.1); ?>;
[1081] Fix | Delete
}
[1082] Fix | Delete
.woocommerce table.shop_table tbody:first-child tr:first-child td,
[1083] Fix | Delete
.woocommerce table.shop_table tbody:first-child tr:first-child th{
[1084] Fix | Delete
border-top: 1px solid <?php echo herald_hex2rgba( $color_content_title , 0.1); ?>;
[1085] Fix | Delete
border-bottom:none;
[1086] Fix | Delete
}
[1087] Fix | Delete
.woocommerce-cart .cart_item td{
[1088] Fix | Delete
border-bottom: 1px solid <?php echo herald_hex2rgba( $color_content_title , 0.1); ?> !important;
[1089] Fix | Delete
}
[1090] Fix | Delete
.woocommerce nav.woocommerce-pagination ul li span,
[1091] Fix | Delete
.woocommerce nav.woocommerce-pagination ul li a:hover,
[1092] Fix | Delete
.woocommerce nav.woocommerce-pagination ul li span.current{
[1093] Fix | Delete
background-color:<?php echo esc_attr( $color_content_acc ); ?>;
[1094] Fix | Delete
color: #FFF;
[1095] Fix | Delete
}
[1096] Fix | Delete
.woocommerce .woocommerce-breadcrumb a,
[1097] Fix | Delete
.woocommerce .woocommerce-breadcrumb,
[1098] Fix | Delete
.woocommerce .woocommerce-result-count,
[1099] Fix | Delete
del .amount{
[1100] Fix | Delete
color: <?php echo esc_attr( $color_content_meta ); ?>;
[1101] Fix | Delete
}
[1102] Fix | Delete
.woocommerce .woocommerce-breadcrumb a:hover{
[1103] Fix | Delete
color: <?php echo esc_attr( $color_content_acc ); ?>;
[1104] Fix | Delete
}
[1105] Fix | Delete
[1106] Fix | Delete
<?php endif; ?>
[1107] Fix | Delete
[1108] Fix | Delete
[1109] Fix | Delete
/* bbPress styles */
[1110] Fix | Delete
[1111] Fix | Delete
<?php if ( herald_is_bbpress_active() ) : ?>
[1112] Fix | Delete
[1113] Fix | Delete
#bbpress-forums li.bbp-header, #bbpress-forums li.bbp-footer{
[1114] Fix | Delete
color: <?php echo esc_attr( $color_content_bg ); ?>;
[1115] Fix | Delete
background-color: <?php echo esc_attr( $color_content_title ); ?>;
[1116] Fix | Delete
}
[1117] Fix | Delete
#bbpress-forums .bbp-forum-title,
[1118] Fix | Delete
#bbpress-forums .bbp-topic-permalink{
[1119] Fix | Delete
font-family: <?php echo wp_kses_post( $h_font['font-family'] ); ?>;
[1120] Fix | Delete
font-weight: <?php echo esc_attr( $h_font['font-weight'] ); ?>;
[1121] Fix | Delete
<?php if ( isset( $h_font['font-style'] ) && !empty( $h_font['font-style'] ) ):?>
[1122] Fix | Delete
font-style: <?php echo esc_attr( $h_font['font-style'] ); ?>;
[1123] Fix | Delete
<?php endif; ?>
[1124] Fix | Delete
color: <?php echo esc_attr( $color_content_title ); ?>;
[1125] Fix | Delete
}
[1126] Fix | Delete
#bbpress-forums .bbp-topic-started-by,
[1127] Fix | Delete
.bbp-topic-freshness a,
[1128] Fix | Delete
.bbp-pagination-count,
[1129] Fix | Delete
#bbpress-forums .bbp-forum-info .bbp-forum-content,
[1130] Fix | Delete
#bbpress-forums p.bbp-topic-meta,
[1131] Fix | Delete
.bbp-forum-freshness a,
[1132] Fix | Delete
span.bbp-admin-links a,
[1133] Fix | Delete
.bbp-reply-post-date,
[1134] Fix | Delete
#bbpress-forums li.bbp-forum a,
[1135] Fix | Delete
.widget_display_replies div,
[1136] Fix | Delete
.widget_display_topics div{
[1137] Fix | Delete
color: <?php echo esc_attr( $color_content_meta ); ?>;
[1138] Fix | Delete
}
[1139] Fix | Delete
#bbpress-forums .bbp-forum-title:hover,
[1140] Fix | Delete
#bbpress-forums .bbp-topic-permalink:hover,
[1141] Fix | Delete
.bbp-topic-freshness a:hover,
[1142] Fix | Delete
.bbp-topic-meta a,
[1143] Fix | Delete
.bbp-forum-freshness a:hover,
[1144] Fix | Delete
span.bbp-admin-links a:hover,
[1145] Fix | Delete
.bbp-reply-post-date:hover,
[1146] Fix | Delete
#bbpress-forums li.bbp-forum a:hover{
[1147] Fix | Delete
color: <?php echo esc_attr( $color_content_acc ); ?>;
[1148] Fix | Delete
}
[1149] Fix | Delete
.bbp-topic-form,
[1150] Fix | Delete
.bbp-reply-form{
[1151] Fix | Delete
background-color: <?php echo herald_hex2rgba($color_content_txt, 0.06); ?>;
[1152] Fix | Delete
border: 1px solid <?php echo herald_hex2rgba($color_content_txt, 0.15); ?>;
[1153] Fix | Delete
}
[1154] Fix | Delete
div.bbp-submit-wrapper button,
[1155] Fix | Delete
#bbpress-forums #bbp-your-profile fieldset.submit button{
[1156] Fix | Delete
background-color: <?php echo esc_attr( $color_content_acc ); ?>;
[1157] Fix | Delete
}
[1158] Fix | Delete
.bbp-pagination-links a:hover,
[1159] Fix | Delete
.bbp-pagination-links span.current{
[1160] Fix | Delete
background-color:<?php echo esc_attr( $color_content_acc ); ?>;
[1161] Fix | Delete
color: #FFF;
[1162] Fix | Delete
}
[1163] Fix | Delete
#bbpress-forums textarea{
[1164] Fix | Delete
border: 1px solid <?php echo herald_hex2rgba($color_content_txt, 0.2); ?> !important;
[1165] Fix | Delete
}
[1166] Fix | Delete
[1167] Fix | Delete
.bbp_widget_login .logout-link{
[1168] Fix | Delete
border: 1px solid <?php echo herald_hex2rgba($color_content_txt, 0.2); ?>;
[1169] Fix | Delete
color: <?php echo esc_attr( $color_content_txt ); ?>;
[1170] Fix | Delete
}
[1171] Fix | Delete
.bbp_widget_login .logout-link:hover{
[1172] Fix | Delete
border: 1px solid <?php echo herald_hex2rgba($color_content_acc, 0.5); ?>;
[1173] Fix | Delete
}
[1174] Fix | Delete
<?php endif; ?>
[1175] Fix | Delete
[1176] Fix | Delete
[1177] Fix | Delete
[1178] Fix | Delete
/* Co Authors Plus Plugin */
[1179] Fix | Delete
[1180] Fix | Delete
<?php if ( herald_is_co_authors_active() ) : ?>
[1181] Fix | Delete
[1182] Fix | Delete
.entry-meta-wrapper .meta-item.herald-author:hover .coauthors a {
[1183] Fix | Delete
color: <?php echo esc_attr( $color_content_txt ); ?>
[1184] Fix | Delete
}
[1185] Fix | Delete
.entry-meta-wrapper .meta-item.herald-author .coauthors a:hover {
[1186] Fix | Delete
color: <?php echo esc_attr( $color_content_acc ); ?>
[1187] Fix | Delete
}
[1188] Fix | Delete
[1189] Fix | Delete
<?php endif; ?>
[1190] Fix | Delete
[1191] Fix | Delete
[1192] Fix | Delete
<?php
[1193] Fix | Delete
[1194] Fix | Delete
/* Generate css for category colors */
[1195] Fix | Delete
$cat_colors = get_option( 'herald_cat_colors' );
[1196] Fix | Delete
[1197] Fix | Delete
if ( !empty( $cat_colors ) ) {
[1198] Fix | Delete
foreach ( $cat_colors as $cat => $color ) {
[1199] Fix | Delete
if( $cat != 0) {
[1200] Fix | Delete
echo 'a.herald-cat-'.$cat.' , .widget a.herald-cat-'.$cat.'{ color: '.$color.';}';
[1201] Fix | Delete
echo '.herald-mod-head.herald-cat-'.$cat.':after{ background:'.$color.'; }';
[1202] Fix | Delete
echo '.herald-mod-head.herald-cat-'.$cat.' .herald-color { background:'.$color.'; }';
[1203] Fix | Delete
echo '.herald-ovrld .meta-category a.herald-cat-'.$cat.'{ background-color: '.$color.'; color: #FFF;}';
[1204] Fix | Delete
echo '.widget_categories .cat-item-'.$cat.' .count { background-color: '.$color.';}';
[1205] Fix | Delete
echo '.herald-fa-colored .herald-cat-'.$cat.' .fa-post-thumbnail:before { background-color: '.$color.';}';
[1206] Fix | Delete
echo '.herald-fa-wrapper .meta-category .herald-cat-'.$cat.' { background-color: '.$color.';}';
[1207] Fix | Delete
echo '.widget_categories .cat-item-'.$cat.' a:hover { color: '.$color.';}';
[1208] Fix | Delete
echo '.herald-site-footer .widget a.herald-cat-'.$cat.' { color: '.$color.';}';
[1209] Fix | Delete
echo 'li.herald-mega-menu .sub-menu a.herald-cat-'.$cat.' { color: '.$color.';}';
[1210] Fix | Delete
}
[1211] Fix | Delete
}
[1212] Fix | Delete
}
[1213] Fix | Delete
[1214] Fix | Delete
/* Apply uppercase options */
[1215] Fix | Delete
$uppercase = herald_get_option( 'uppercase' );
[1216] Fix | Delete
if ( !empty( $uppercase ) ) {
[1217] Fix | Delete
foreach ( $uppercase as $text_class => $val ) {
[1218] Fix | Delete
if ( $val ){
[1219] Fix | Delete
echo '.'. $text_class .'{text-transform: uppercase;}';
[1220] Fix | Delete
} else {
[1221] Fix | Delete
echo '.'. $text_class .'{text-transform: none;}';
[1222] Fix | Delete
}
[1223] Fix | Delete
}
[1224] Fix | Delete
}
[1225] Fix | Delete
[1226] Fix | Delete
/* Editor font sizes */
[1227] Fix | Delete
$font_sizes = herald_get_editor_font_sizes();
[1228] Fix | Delete
[1229] Fix | Delete
if ( !empty( $font_sizes ) ) {
[1230] Fix | Delete
[1231] Fix | Delete
foreach ( $font_sizes as $id => $item ) {
[1232] Fix | Delete
if( isset( $item['size-mobile'] ) ){
[1233] Fix | Delete
echo '.has-'. $item['slug'] .'-font-size{ font-size: '.number_format( $item['size-mobile'] / 10, 1 ) .'rem;}';
[1234] Fix | Delete
}
[1235] Fix | Delete
}
[1236] Fix | Delete
[1237] Fix | Delete
echo '@media(min-width: 1025px){';
[1238] Fix | Delete
foreach ( $font_sizes as $id => $item ) {
[1239] Fix | Delete
echo '.has-'. $item['slug'] .'-font-size{ font-size: '.number_format( $item['size'] / 10, 1 ) .'rem;}';
[1240] Fix | Delete
}
[1241] Fix | Delete
echo '}';
[1242] Fix | Delete
}
[1243] Fix | Delete
[1244] Fix | Delete
/* Editor colors */
[1245] Fix | Delete
$colors = herald_get_editor_colors();
[1246] Fix | Delete
[1247] Fix | Delete
if ( !empty( $colors ) ) {
[1248] Fix | Delete
foreach ( $colors as $id => $item ) {
[1249] Fix | Delete
echo '.has-'. $item['slug'] .'-background-color{ background-color: ' . esc_attr( $item['color'] ) .';}';
[1250] Fix | Delete
echo '.has-'. $item['slug'] .'-color{ color: ' . esc_attr( $item['color'] ) .';}';
[1251] Fix | Delete
}
[1252] Fix | Delete
}
[1253] Fix | Delete
[1254] Fix | Delete
/* Additional styles */
[1255] Fix | Delete
[1256] Fix | Delete
$overlay_opacity = herald_get_option('overlay_opacity');
[1257] Fix | Delete
echo '.fa-post-thumbnail:before, .herald-ovrld .herald-post-thumbnail span:before, .herald-ovrld .herald-post-thumbnail a:before { opacity: '.esc_attr($overlay_opacity[1]).'; }';
[1258] Fix | Delete
echo '.herald-fa-item:hover .fa-post-thumbnail:before, .herald-ovrld:hover .herald-post-thumbnail a:before, .herald-ovrld:hover .herald-post-thumbnail span:before{ opacity: '.esc_attr($overlay_opacity[2]).'; }';
[1259] Fix | Delete
[1260] Fix | Delete
?>
[1261] Fix | Delete
[1262] Fix | Delete
/* Responsive header brekpoint */
[1263] Fix | Delete
@media only screen and (min-width: <?php echo esc_attr( $header_responsive_breakpoint ); ?>px) {
[1264] Fix | Delete
.herald-site-header .header-top,
[1265] Fix | Delete
.header-middle,
[1266] Fix | Delete
.header-bottom,
[1267] Fix | Delete
.herald-header-sticky,
[1268] Fix | Delete
.header-trending{ display:block !important;}
[1269] Fix | Delete
[1270] Fix | Delete
.herald-responsive-header,.herald-mobile-nav{display:none !important;}
[1271] Fix | Delete
.herald-site-content {
[1272] Fix | Delete
margin-top: 0 !important;
[1273] Fix | Delete
}
[1274] Fix | Delete
.herald-mega-menu .sub-menu {
[1275] Fix | Delete
display: block;
[1276] Fix | Delete
}
[1277] Fix | Delete
.header-mobile-ad {
[1278] Fix | Delete
display: none;
[1279] Fix | Delete
}
[1280] Fix | Delete
}
[1281] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function