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
/home/sportsfe.../httpdocs/clone/wp-conte.../themes/herald/assets/css
File: dynamic-css.php
<?php
[0] Fix | Delete
[1] Fix | Delete
/* Font styles */
[2] Fix | Delete
$main_font = herald_get_font_option( 'main_font' );
[3] Fix | Delete
$h_font = herald_get_font_option( 'h_font' );
[4] Fix | Delete
$nav_font = herald_get_font_option( 'nav_font' );
[5] Fix | Delete
[6] Fix | Delete
/* Font sizes */
[7] Fix | Delete
$font_size_p = number_format( absint( herald_get_option( 'font_size_p' ) ) / 10, 1 );
[8] Fix | Delete
$font_size_excerpt_text = number_format( absint( herald_get_option( 'font_size_excerpt_text' ) ) / 10, 1 );
[9] Fix | Delete
$font_size_meta_data_smaller = number_format( absint( herald_get_option( 'font_size_meta_data_smaller' ) ) / 10, 1 );
[10] Fix | Delete
$font_size_meta_data_bigger = number_format( absint( herald_get_option( 'font_size_meta_data_bigger' ) ) / 10, 1 );
[11] Fix | Delete
$font_size_h1 = number_format( absint( herald_get_option( 'font_size_h1' ) ) / 10, 1 );
[12] Fix | Delete
$font_size_h2 = number_format( absint( herald_get_option( 'font_size_h2' ) ) / 10, 1 );
[13] Fix | Delete
$font_size_h3 = number_format( absint( herald_get_option( 'font_size_h3' ) ) / 10, 1 );
[14] Fix | Delete
$font_size_h4 = number_format( absint( herald_get_option( 'font_size_h4' ) ) / 10, 1 );
[15] Fix | Delete
$font_size_h5 = number_format( absint( herald_get_option( 'font_size_h5' ) ) / 10, 1 );
[16] Fix | Delete
$font_size_h6 = number_format( absint( herald_get_option( 'font_size_h6' ) ) / 10, 1 );
[17] Fix | Delete
$font_size_h7 = number_format( absint( herald_get_option( 'font_size_h7' ) ) / 10, 1 );
[18] Fix | Delete
$font_size_small = number_format( absint( herald_get_option( 'font_size_small' ) ) / 10, 1 );
[19] Fix | Delete
$font_size_nav = number_format( absint( herald_get_option( 'font_size_nav' ) ) / 10, 1 );
[20] Fix | Delete
$font_size_widget_and_module_title= number_format( absint( herald_get_option( 'font_size_widget_and_module_title' ) ) / 10, 1 );
[21] Fix | Delete
[22] Fix | Delete
/* Top header styles */
[23] Fix | Delete
$color_header_top_bg = esc_attr(herald_get_option( 'color_header_top_bg' ));
[24] Fix | Delete
$color_header_top_txt = esc_attr(herald_get_option( 'color_header_top_txt' ));
[25] Fix | Delete
$color_header_top_acc = esc_attr(herald_get_option( 'color_header_top_acc' ));
[26] Fix | Delete
[27] Fix | Delete
/* Middle header styles */
[28] Fix | Delete
$color_header_middle_bg = esc_attr(herald_get_option( 'color_header_middle_bg' ));
[29] Fix | Delete
$color_header_middle_txt = esc_attr(herald_get_option( 'color_header_middle_txt' ));
[30] Fix | Delete
$color_header_middle_acc = esc_attr(herald_get_option( 'color_header_middle_acc' ));
[31] Fix | Delete
$header_height = esc_attr(herald_get_option( 'header_height' ));
[32] Fix | Delete
[33] Fix | Delete
/* Bottom header styles */
[34] Fix | Delete
$color_header_bottom_bg = esc_attr(herald_get_option( 'color_header_bottom_bg' ));
[35] Fix | Delete
$color_header_bottom_txt = esc_attr(herald_get_option( 'color_header_bottom_txt' ));
[36] Fix | Delete
$color_header_bottom_acc = esc_attr(herald_get_option( 'color_header_bottom_acc' ));
[37] Fix | Delete
[38] Fix | Delete
/* Sticky header styles */
[39] Fix | Delete
$color_header_sticky_bg = esc_attr(herald_get_option( 'color_header_sticky_bg' ));
[40] Fix | Delete
$color_header_sticky_txt = esc_attr(herald_get_option( 'color_header_sticky_txt' ));
[41] Fix | Delete
$color_header_sticky_acc = esc_attr(herald_get_option( 'color_header_sticky_acc' ));
[42] Fix | Delete
[43] Fix | Delete
/* Trending header styles */
[44] Fix | Delete
$color_header_trending_bg = esc_attr(herald_get_option( 'color_header_trending_bg' ));
[45] Fix | Delete
$color_header_trending_txt = esc_attr(herald_get_option( 'color_header_trending_txt' ));
[46] Fix | Delete
$color_header_trending_acc = esc_attr(herald_get_option( 'color_header_trending_acc' ));
[47] Fix | Delete
[48] Fix | Delete
$header_responsive_breakpoint = esc_attr(herald_get_option( 'header_responsive_breakpoint' ));
[49] Fix | Delete
[50] Fix | Delete
[51] Fix | Delete
/* General styles */
[52] Fix | Delete
$body_background = herald_get_bg_option('body_background');
[53] Fix | Delete
$content_layout = herald_get_option('content_layout');
[54] Fix | Delete
$color_content_bg = esc_attr(herald_get_option( 'color_content_bg' ));
[55] Fix | Delete
$color_content_title = esc_attr(herald_get_option( 'color_content_title' ));
[56] Fix | Delete
$color_content_txt = esc_attr(herald_get_option( 'color_content_txt' ));
[57] Fix | Delete
$color_content_acc = esc_attr(herald_get_option( 'color_content_acc' ));
[58] Fix | Delete
$color_content_meta = esc_attr(herald_get_option( 'color_content_meta' ));
[59] Fix | Delete
[60] Fix | Delete
/* Footer styles */
[61] Fix | Delete
$color_footer_bg = esc_attr(herald_get_option( 'color_footer_bg' ));
[62] Fix | Delete
$color_footer_acc = esc_attr(herald_get_option( 'color_footer_acc' ));
[63] Fix | Delete
$color_footer_txt = esc_attr(herald_get_option( 'color_footer_txt' ));
[64] Fix | Delete
$color_footer_meta = esc_attr(herald_get_option( 'color_footer_meta' ));
[65] Fix | Delete
?>
[66] Fix | Delete
[67] Fix | Delete
/* Font sizes */
[68] Fix | Delete
h1, .h1, .herald-no-sid .herald-posts .h2{ font-size: <?php echo esc_attr( $font_size_h1 ); ?>rem; }
[69] Fix | Delete
h2, .h2, .herald-no-sid .herald-posts .h3{ font-size: <?php echo esc_attr( $font_size_h2 ); ?>rem; }
[70] Fix | Delete
h3, .h3, .herald-no-sid .herald-posts .h4 { font-size: <?php echo esc_attr( $font_size_h3 ); ?>rem; }
[71] Fix | Delete
h4, .h4, .herald-no-sid .herald-posts .h5 { font-size: <?php echo esc_attr( $font_size_h4 ); ?>rem; }
[72] Fix | Delete
h5, .h5, .herald-no-sid .herald-posts .h6 { font-size: <?php echo esc_attr( $font_size_h5 ); ?>rem; }
[73] Fix | Delete
h6, .h6, .herald-no-sid .herald-posts .h7 { font-size: <?php echo esc_attr( $font_size_h6 ); ?>rem; }
[74] Fix | Delete
.h7 {
[75] Fix | Delete
font-size: <?php echo esc_attr( $font_size_h7 ); ?>rem;
[76] Fix | Delete
}
[77] Fix | Delete
.herald-entry-content, .herald-sidebar{
[78] Fix | Delete
font-size: <?php echo esc_attr( $font_size_p ); ?>rem;
[79] Fix | Delete
}
[80] Fix | Delete
.entry-content .entry-headline{
[81] Fix | Delete
font-size: <?php echo esc_attr( $font_size_excerpt_text ); ?>rem;
[82] Fix | Delete
}
[83] Fix | Delete
body{
[84] Fix | Delete
font-size: <?php echo esc_attr( $font_size_p ); ?>rem;
[85] Fix | Delete
}
[86] Fix | Delete
.widget{
[87] Fix | Delete
font-size: <?php echo esc_attr( $font_size_small ); ?>rem;
[88] Fix | Delete
}
[89] Fix | Delete
.herald-menu{
[90] Fix | Delete
font-size: <?php echo esc_attr( $font_size_nav ); ?>rem;
[91] Fix | Delete
}
[92] Fix | Delete
.herald-mod-title .herald-mod-h, .herald-sidebar .widget-title{
[93] Fix | Delete
font-size: <?php echo esc_attr( $font_size_widget_and_module_title ); ?>rem;
[94] Fix | Delete
}
[95] Fix | Delete
.entry-meta .meta-item, .entry-meta a, .entry-meta span{
[96] Fix | Delete
font-size: <?php echo esc_attr( $font_size_meta_data_bigger ); ?>rem;
[97] Fix | Delete
}
[98] Fix | Delete
.entry-meta.meta-small .meta-item, .entry-meta.meta-small a, .entry-meta.meta-small span{
[99] Fix | Delete
font-size: <?php echo esc_attr( $font_size_meta_data_smaller ); ?>rem;
[100] Fix | Delete
}
[101] Fix | Delete
[102] Fix | Delete
/* Top header styles */
[103] Fix | Delete
.herald-site-header .header-top,
[104] Fix | Delete
.header-top .herald-in-popup,
[105] Fix | Delete
.header-top .herald-menu ul {
[106] Fix | Delete
background: <?php echo esc_attr( $color_header_top_bg ); ?>;
[107] Fix | Delete
color: <?php echo esc_attr( $color_header_top_txt ); ?>;
[108] Fix | Delete
}
[109] Fix | Delete
.header-top a {
[110] Fix | Delete
color: <?php echo esc_attr( $color_header_top_txt ); ?>;
[111] Fix | Delete
}
[112] Fix | Delete
.header-top a:hover,
[113] Fix | Delete
.header-top .herald-menu li:hover > a{
[114] Fix | Delete
color: <?php echo esc_attr( $color_header_top_acc ); ?>;
[115] Fix | Delete
}
[116] Fix | Delete
.header-top .herald-menu-popup:hover > span,
[117] Fix | Delete
.header-top .herald-menu-popup-search span:hover,
[118] Fix | Delete
.header-top .herald-menu-popup-search.herald-search-active{
[119] Fix | Delete
color: <?php echo esc_attr( $color_header_top_acc ); ?>;
[120] Fix | Delete
}
[121] Fix | Delete
#wp-calendar tbody td a{
[122] Fix | Delete
background: <?php echo esc_attr( $color_content_acc ); ?>;
[123] Fix | Delete
color:#FFF;
[124] Fix | Delete
}
[125] Fix | Delete
.header-top .herald-login #loginform label,
[126] Fix | Delete
.header-top .herald-login p,
[127] Fix | Delete
.header-top a.btn-logout {
[128] Fix | Delete
color: <?php echo esc_attr( $color_header_top_acc ); ?>;
[129] Fix | Delete
}
[130] Fix | Delete
.header-top .herald-login #loginform input {
[131] Fix | Delete
color: <?php echo esc_attr( $color_header_top_bg ); ?>;
[132] Fix | Delete
}
[133] Fix | Delete
.header-top .herald-login .herald-registration-link:after {
[134] Fix | Delete
background: <?php echo herald_hex2rgba($color_header_top_acc, 0.25); ?>;
[135] Fix | Delete
}
[136] Fix | Delete
.header-top .herald-login #loginform input[type=submit],
[137] Fix | Delete
.header-top .herald-in-popup .btn-logout {
[138] Fix | Delete
background-color: <?php echo esc_attr( $color_header_top_acc ); ?>;
[139] Fix | Delete
color: <?php echo esc_attr( $color_header_top_bg ); ?>;
[140] Fix | Delete
}
[141] Fix | Delete
.header-top a.btn-logout:hover{
[142] Fix | Delete
color: <?php echo esc_attr( $color_header_top_bg ); ?>;
[143] Fix | Delete
}
[144] Fix | Delete
[145] Fix | Delete
/* Middle header styles */
[146] Fix | Delete
[147] Fix | Delete
<?php if( $middle_bg = herald_get_bg_option('background_header_middle') ) : ?>
[148] Fix | Delete
.header-middle {
[149] Fix | Delete
<?php echo wp_kses_post( $middle_bg ); ?>
[150] Fix | Delete
}
[151] Fix | Delete
<?php endif; ?>
[152] Fix | Delete
[153] Fix | Delete
.header-middle{
[154] Fix | Delete
background-color: <?php echo esc_attr( $color_header_middle_bg ); ?>;
[155] Fix | Delete
color: <?php echo esc_attr( $color_header_middle_txt ); ?>;
[156] Fix | Delete
}
[157] Fix | Delete
[158] Fix | Delete
.header-middle a{
[159] Fix | Delete
color: <?php echo esc_attr( $color_header_middle_txt ); ?>;
[160] Fix | Delete
}
[161] Fix | Delete
.header-middle.herald-header-wraper,
[162] Fix | Delete
.header-middle .col-lg-12{
[163] Fix | Delete
height: <?php echo absint( $header_height ); ?>px;
[164] Fix | Delete
}
[165] Fix | Delete
.header-middle .site-title img{
[166] Fix | Delete
max-height: <?php echo absint( $header_height ); ?>px;
[167] Fix | Delete
}
[168] Fix | Delete
[169] Fix | Delete
.header-middle .sub-menu{
[170] Fix | Delete
background-color: <?php echo esc_attr( $color_header_middle_txt ); ?>;
[171] Fix | Delete
}
[172] Fix | Delete
.header-middle .sub-menu a,
[173] Fix | Delete
.header-middle .herald-search-submit:hover,
[174] Fix | Delete
.header-middle li.herald-mega-menu .col-lg-3 a:hover,
[175] Fix | Delete
.header-middle li.herald-mega-menu .col-lg-3 a:hover:after{
[176] Fix | Delete
color: <?php echo esc_attr( $color_header_middle_acc ); ?>;
[177] Fix | Delete
}
[178] Fix | Delete
[179] Fix | Delete
.header-middle .herald-menu li:hover > a,
[180] Fix | Delete
.header-middle .herald-menu-popup-search:hover > span,
[181] Fix | Delete
.header-middle .herald-cart-icon:hover > a
[182] Fix | Delete
{
[183] Fix | Delete
color: <?php echo esc_attr( $color_header_middle_acc ); ?>;
[184] Fix | Delete
background-color: <?php echo esc_attr( $color_header_middle_txt ); ?>;
[185] Fix | Delete
}
[186] Fix | Delete
.header-middle .current-menu-parent a,
[187] Fix | Delete
.header-middle .current-menu-ancestor a,
[188] Fix | Delete
.header-middle .current_page_item > a,
[189] Fix | Delete
.header-middle .current-menu-item > a{
[190] Fix | Delete
background-color: <?php echo herald_hex2rgba( $color_header_middle_txt , 0.2); ?>;
[191] Fix | Delete
}
[192] Fix | Delete
[193] Fix | Delete
.header-middle .sub-menu > li > a,
[194] Fix | Delete
.header-middle .herald-search-submit,
[195] Fix | Delete
.header-middle li.herald-mega-menu .col-lg-3 a{
[196] Fix | Delete
color: <?php echo herald_hex2rgba( $color_header_middle_acc , 0.7); ?>;
[197] Fix | Delete
}
[198] Fix | Delete
.header-middle .sub-menu > li:hover > a{
[199] Fix | Delete
color: <?php echo esc_attr( $color_header_middle_acc ); ?>;
[200] Fix | Delete
}
[201] Fix | Delete
.header-middle .herald-in-popup{
[202] Fix | Delete
background-color: <?php echo esc_attr( $color_header_middle_txt ); ?>;
[203] Fix | Delete
}
[204] Fix | Delete
.header-middle .herald-menu-popup a{
[205] Fix | Delete
color: <?php echo esc_attr( $color_header_middle_acc ); ?>;
[206] Fix | Delete
}
[207] Fix | Delete
.header-middle .herald-in-popup{
[208] Fix | Delete
background-color: <?php echo esc_attr( $color_header_middle_txt ); ?>;
[209] Fix | Delete
}
[210] Fix | Delete
.header-middle .herald-search-input{
[211] Fix | Delete
color: <?php echo esc_attr( $color_header_middle_acc ); ?>;
[212] Fix | Delete
}
[213] Fix | Delete
.header-middle .herald-menu-popup a{
[214] Fix | Delete
color: <?php echo esc_attr( $color_header_middle_acc ); ?>;
[215] Fix | Delete
}
[216] Fix | Delete
.header-middle .herald-menu-popup > span,
[217] Fix | Delete
.header-middle .herald-search-active > span{
[218] Fix | Delete
color: <?php echo esc_attr( $color_header_middle_txt ); ?>;
[219] Fix | Delete
}
[220] Fix | Delete
.header-middle .herald-menu-popup:hover > span,
[221] Fix | Delete
.header-middle .herald-search-active > span{
[222] Fix | Delete
background-color: <?php echo esc_attr( $color_header_middle_txt ); ?>;
[223] Fix | Delete
color: <?php echo esc_attr( $color_header_middle_acc ); ?>;
[224] Fix | Delete
}
[225] Fix | Delete
.header-middle .herald-login #loginform label,
[226] Fix | Delete
.header-middle .herald-login #loginform input,
[227] Fix | Delete
.header-middle .herald-login p,
[228] Fix | Delete
.header-middle a.btn-logout,
[229] Fix | Delete
.header-middle .herald-login .herald-registration-link:hover,
[230] Fix | Delete
.header-middle .herald-login .herald-lost-password-link:hover {
[231] Fix | Delete
color: <?php echo esc_attr( $color_header_middle_acc ); ?>;
[232] Fix | Delete
}
[233] Fix | Delete
.header-middle .herald-login .herald-registration-link:after {
[234] Fix | Delete
background: <?php echo herald_hex2rgba($color_header_middle_acc, 0.15); ?>;
[235] Fix | Delete
}
[236] Fix | Delete
.header-middle .herald-login a,
[237] Fix | Delete
.header-middle .herald-username a {
[238] Fix | Delete
color: <?php echo esc_attr( $color_header_middle_acc ); ?>;
[239] Fix | Delete
}
[240] Fix | Delete
.header-middle .herald-login a:hover,
[241] Fix | Delete
.header-middle .herald-login .herald-registration-link,
[242] Fix | Delete
.header-middle .herald-login .herald-lost-password-link {
[243] Fix | Delete
color: <?php echo esc_attr( $color_header_middle_bg ); ?>;
[244] Fix | Delete
}
[245] Fix | Delete
.header-middle .herald-login #loginform input[type=submit],
[246] Fix | Delete
.header-middle .herald-in-popup .btn-logout {
[247] Fix | Delete
background-color: <?php echo esc_attr( $color_header_middle_bg ); ?>;
[248] Fix | Delete
color: <?php echo esc_attr( $color_header_middle_txt ); ?>;
[249] Fix | Delete
}
[250] Fix | Delete
.header-middle a.btn-logout:hover{
[251] Fix | Delete
color: <?php echo esc_attr( $color_header_middle_txt ); ?>;
[252] Fix | Delete
}
[253] Fix | Delete
[254] Fix | Delete
[255] Fix | Delete
[256] Fix | Delete
/* Bottom header styles */
[257] Fix | Delete
[258] Fix | Delete
.header-bottom{
[259] Fix | Delete
background: <?php echo esc_attr( $color_header_bottom_bg ); ?>;
[260] Fix | Delete
color: <?php echo esc_attr( $color_header_bottom_txt ); ?>;
[261] Fix | Delete
}
[262] Fix | Delete
.header-bottom a,
[263] Fix | Delete
.header-bottom .herald-site-header .herald-search-submit{
[264] Fix | Delete
color: <?php echo esc_attr( $color_header_bottom_txt ); ?>;
[265] Fix | Delete
}
[266] Fix | Delete
.header-bottom a:hover{
[267] Fix | Delete
color: <?php echo esc_attr( $color_header_bottom_acc ); ?>;
[268] Fix | Delete
}
[269] Fix | Delete
[270] Fix | Delete
.header-bottom a:hover,
[271] Fix | Delete
.header-bottom .herald-menu li:hover > a,
[272] Fix | Delete
.header-bottom li.herald-mega-menu .col-lg-3 a:hover:after{
[273] Fix | Delete
color: <?php echo esc_attr( $color_header_bottom_acc ); ?>;
[274] Fix | Delete
}
[275] Fix | Delete
[276] Fix | Delete
[277] Fix | Delete
.header-bottom .herald-menu li:hover > a,
[278] Fix | Delete
.header-bottom .herald-menu-popup-search:hover > span,
[279] Fix | Delete
.header-bottom .herald-cart-icon:hover > a {
[280] Fix | Delete
color: <?php echo esc_attr( $color_header_bottom_acc ); ?>;
[281] Fix | Delete
background-color: <?php echo esc_attr( $color_header_bottom_txt ); ?>;
[282] Fix | Delete
}
[283] Fix | Delete
.header-bottom .current-menu-parent a,
[284] Fix | Delete
.header-bottom .current-menu-ancestor a,
[285] Fix | Delete
.header-bottom .current_page_item > a,
[286] Fix | Delete
.header-bottom .current-menu-item > a {
[287] Fix | Delete
background-color: <?php echo herald_hex2rgba( $color_header_bottom_txt , 0.2); ?>;
[288] Fix | Delete
}
[289] Fix | Delete
.header-bottom .sub-menu{
[290] Fix | Delete
background-color: <?php echo esc_attr( $color_header_bottom_txt ); ?>;
[291] Fix | Delete
}
[292] Fix | Delete
.header-bottom .herald-menu li.herald-mega-menu .col-lg-3 a,
[293] Fix | Delete
.header-bottom .sub-menu > li > a,
[294] Fix | Delete
.header-bottom .herald-search-submit{
[295] Fix | Delete
color: <?php echo herald_hex2rgba( $color_header_bottom_acc , 0.7); ?>;
[296] Fix | Delete
}
[297] Fix | Delete
.header-bottom .herald-menu li.herald-mega-menu .col-lg-3 a:hover,
[298] Fix | Delete
.header-bottom .sub-menu > li:hover > a{
[299] Fix | Delete
color: <?php echo esc_attr( $color_header_bottom_acc ); ?>;
[300] Fix | Delete
}
[301] Fix | Delete
[302] Fix | Delete
.header-bottom .sub-menu > li > a,
[303] Fix | Delete
.header-bottom .herald-search-submit{
[304] Fix | Delete
color: <?php echo herald_hex2rgba( $color_header_bottom_acc , 0.7); ?>;
[305] Fix | Delete
}
[306] Fix | Delete
.header-bottom .sub-menu > li:hover > a{
[307] Fix | Delete
color: <?php echo esc_attr( $color_header_bottom_acc ); ?>;
[308] Fix | Delete
}
[309] Fix | Delete
[310] Fix | Delete
.header-bottom .herald-in-popup {
[311] Fix | Delete
background-color: <?php echo esc_attr( $color_header_bottom_txt ); ?>;
[312] Fix | Delete
}
[313] Fix | Delete
.header-bottom .herald-menu-popup a {
[314] Fix | Delete
color: <?php echo esc_attr( $color_header_bottom_acc ); ?>;
[315] Fix | Delete
}
[316] Fix | Delete
[317] Fix | Delete
.header-bottom .herald-in-popup,
[318] Fix | Delete
.header-bottom .herald-search-input {
[319] Fix | Delete
background-color: <?php echo esc_attr( $color_header_bottom_txt ); ?>;
[320] Fix | Delete
}
[321] Fix | Delete
.header-bottom .herald-menu-popup a,
[322] Fix | Delete
.header-bottom .herald-search-input{
[323] Fix | Delete
color: <?php echo esc_attr( $color_header_bottom_acc ); ?>;
[324] Fix | Delete
}
[325] Fix | Delete
.header-bottom .herald-menu-popup > span,
[326] Fix | Delete
.header-bottom .herald-search-active > span{
[327] Fix | Delete
color: <?php echo esc_attr( $color_header_bottom_txt ); ?>;
[328] Fix | Delete
}
[329] Fix | Delete
.header-bottom .herald-menu-popup:hover > span,
[330] Fix | Delete
.header-bottom .herald-search-active > span{
[331] Fix | Delete
background-color: <?php echo esc_attr( $color_header_bottom_txt ); ?>;
[332] Fix | Delete
color: <?php echo esc_attr( $color_header_bottom_acc ); ?>;
[333] Fix | Delete
}
[334] Fix | Delete
.header-bottom .herald-login #loginform label,
[335] Fix | Delete
.header-bottom .herald-login #loginform input,
[336] Fix | Delete
.header-bottom .herald-login p,
[337] Fix | Delete
.header-bottom a.btn-logout,
[338] Fix | Delete
.header-bottom .herald-login .herald-registration-link:hover,
[339] Fix | Delete
.header-bottom .herald-login .herald-lost-password-link:hover,
[340] Fix | Delete
.herald-responsive-header .herald-login #loginform label,
[341] Fix | Delete
.herald-responsive-header .herald-login #loginform input,
[342] Fix | Delete
.herald-responsive-header .herald-login p,
[343] Fix | Delete
.herald-responsive-header a.btn-logout,
[344] Fix | Delete
.herald-responsive-header .herald-login .herald-registration-link:hover,
[345] Fix | Delete
.herald-responsive-header .herald-login .herald-lost-password-link:hover {
[346] Fix | Delete
color: <?php echo esc_attr( $color_header_bottom_acc ); ?>;
[347] Fix | Delete
}
[348] Fix | Delete
.header-bottom .herald-login .herald-registration-link:after,
[349] Fix | Delete
.herald-responsive-header .herald-login .herald-registration-link:after {
[350] Fix | Delete
background: <?php echo herald_hex2rgba( $color_header_bottom_acc, 0.15 ); ?>;
[351] Fix | Delete
}
[352] Fix | Delete
.header-bottom .herald-login a,
[353] Fix | Delete
.herald-responsive-header .herald-login a {
[354] Fix | Delete
color: <?php echo esc_attr( $color_header_bottom_acc ); ?>;
[355] Fix | Delete
}
[356] Fix | Delete
.header-bottom .herald-login a:hover,
[357] Fix | Delete
.header-bottom .herald-login .herald-registration-link,
[358] Fix | Delete
.header-bottom .herald-login .herald-lost-password-link,
[359] Fix | Delete
.herald-responsive-header .herald-login a:hover,
[360] Fix | Delete
.herald-responsive-header .herald-login .herald-registration-link,
[361] Fix | Delete
.herald-responsive-header .herald-login .herald-lost-password-link {
[362] Fix | Delete
color: <?php echo esc_attr( $color_header_bottom_bg ); ?>;
[363] Fix | Delete
}
[364] Fix | Delete
.header-bottom .herald-login #loginform input[type=submit],
[365] Fix | Delete
.herald-responsive-header .herald-login #loginform input[type=submit],
[366] Fix | Delete
.header-bottom .herald-in-popup .btn-logout,
[367] Fix | Delete
.herald-responsive-header .herald-in-popup .btn-logout {
[368] Fix | Delete
background-color: <?php echo esc_attr( $color_header_bottom_bg ); ?>;
[369] Fix | Delete
color: <?php echo esc_attr( $color_header_bottom_txt ); ?>;
[370] Fix | Delete
}
[371] Fix | Delete
.header-bottom a.btn-logout:hover,
[372] Fix | Delete
.herald-responsive-header a.btn-logout:hover {
[373] Fix | Delete
color: <?php echo esc_attr( $color_header_bottom_txt ); ?>;
[374] Fix | Delete
}
[375] Fix | Delete
[376] Fix | Delete
/* Sticky header styles */
[377] Fix | Delete
[378] Fix | Delete
.herald-header-sticky{
[379] Fix | Delete
background: <?php echo esc_attr( $color_header_sticky_bg ); ?>;
[380] Fix | Delete
color: <?php echo esc_attr( $color_header_sticky_txt ); ?>;
[381] Fix | Delete
}
[382] Fix | Delete
.herald-header-sticky a{
[383] Fix | Delete
color: <?php echo esc_attr( $color_header_sticky_txt ); ?>;
[384] Fix | Delete
}
[385] Fix | Delete
[386] Fix | Delete
.herald-header-sticky .herald-menu li:hover > a{
[387] Fix | Delete
color: <?php echo esc_attr( $color_header_sticky_acc ); ?>;
[388] Fix | Delete
background-color: <?php echo esc_attr( $color_header_sticky_txt ); ?>;
[389] Fix | Delete
}
[390] Fix | Delete
.herald-header-sticky .sub-menu{
[391] Fix | Delete
background-color: <?php echo esc_attr( $color_header_sticky_txt ); ?>;
[392] Fix | Delete
}
[393] Fix | Delete
.herald-header-sticky .sub-menu a{
[394] Fix | Delete
color: <?php echo esc_attr( $color_header_sticky_acc ); ?>;
[395] Fix | Delete
}
[396] Fix | Delete
.herald-header-sticky .sub-menu > li:hover > a{
[397] Fix | Delete
color: <?php echo esc_attr( $color_header_sticky_bg ); ?>;
[398] Fix | Delete
}
[399] Fix | Delete
[400] Fix | Delete
.herald-header-sticky .herald-in-popup,
[401] Fix | Delete
.herald-header-sticky .herald-search-input {
[402] Fix | Delete
background-color: <?php echo esc_attr( $color_header_sticky_txt ); ?>;
[403] Fix | Delete
}
[404] Fix | Delete
.herald-header-sticky .herald-menu-popup a{
[405] Fix | Delete
color: <?php echo esc_attr( $color_header_sticky_acc ); ?>;
[406] Fix | Delete
}
[407] Fix | Delete
.herald-header-sticky .herald-menu-popup > span,
[408] Fix | Delete
.herald-header-sticky .herald-search-active > span{
[409] Fix | Delete
color: <?php echo esc_attr( $color_header_sticky_txt ); ?>;
[410] Fix | Delete
}
[411] Fix | Delete
.herald-header-sticky .herald-menu-popup:hover > span,
[412] Fix | Delete
.herald-header-sticky .herald-search-active > span{
[413] Fix | Delete
background-color: <?php echo esc_attr( $color_header_sticky_txt ); ?>;
[414] Fix | Delete
color: <?php echo esc_attr( $color_header_sticky_acc ); ?>;
[415] Fix | Delete
}
[416] Fix | Delete
.herald-header-sticky .herald-search-input,
[417] Fix | Delete
.herald-header-sticky .herald-search-submit{
[418] Fix | Delete
color: <?php echo esc_attr( $color_header_sticky_acc ); ?>;
[419] Fix | Delete
}
[420] Fix | Delete
[421] Fix | Delete
.herald-header-sticky .herald-menu li:hover > a,
[422] Fix | Delete
.herald-header-sticky .herald-menu-popup-search:hover > span,
[423] Fix | Delete
.herald-header-sticky .herald-cart-icon:hover a {
[424] Fix | Delete
color: <?php echo esc_attr( $color_header_sticky_acc ); ?>;
[425] Fix | Delete
background-color: <?php echo esc_attr( $color_header_sticky_txt ); ?>;
[426] Fix | Delete
}
[427] Fix | Delete
[428] Fix | Delete
.herald-header-sticky .herald-login #loginform label,
[429] Fix | Delete
.herald-header-sticky .herald-login #loginform input,
[430] Fix | Delete
.herald-header-sticky .herald-login p,
[431] Fix | Delete
.herald-header-sticky a.btn-logout,
[432] Fix | Delete
.herald-header-sticky .herald-login .herald-registration-link:hover,
[433] Fix | Delete
.herald-header-sticky .herald-login .herald-lost-password-link:hover {
[434] Fix | Delete
color: <?php echo esc_attr( $color_header_sticky_acc ); ?>;
[435] Fix | Delete
}
[436] Fix | Delete
.herald-header-sticky .herald-login .herald-registration-link:after {
[437] Fix | Delete
background: <?php echo herald_hex2rgba( $color_header_sticky_acc, 0.15 ); ?>;
[438] Fix | Delete
}
[439] Fix | Delete
.herald-header-sticky .herald-login a {
[440] Fix | Delete
color: <?php echo esc_attr( $color_header_sticky_acc ); ?>;
[441] Fix | Delete
}
[442] Fix | Delete
.herald-header-sticky .herald-login a:hover,
[443] Fix | Delete
.herald-header-sticky .herald-login .herald-registration-link,
[444] Fix | Delete
.herald-header-sticky .herald-login .herald-lost-password-link {
[445] Fix | Delete
color: <?php echo esc_attr( $color_header_sticky_bg ); ?>;
[446] Fix | Delete
}
[447] Fix | Delete
.herald-header-sticky .herald-login #loginform input[type=submit],
[448] Fix | Delete
.herald-header-sticky .herald-in-popup .btn-logout {
[449] Fix | Delete
background-color: <?php echo esc_attr( $color_header_sticky_bg ); ?>;
[450] Fix | Delete
color: <?php echo esc_attr( $color_header_sticky_txt ); ?>;
[451] Fix | Delete
}
[452] Fix | Delete
.herald-header-sticky a.btn-logout:hover{
[453] Fix | Delete
color: <?php echo esc_attr( $color_header_sticky_txt ); ?>;
[454] Fix | Delete
}
[455] Fix | Delete
[456] Fix | Delete
/* Header trending */
[457] Fix | Delete
[458] Fix | Delete
.header-trending{
[459] Fix | Delete
background: <?php echo esc_attr( $color_header_trending_bg ); ?>;
[460] Fix | Delete
color: <?php echo esc_attr( $color_header_trending_txt ); ?>;
[461] Fix | Delete
}
[462] Fix | Delete
[463] Fix | Delete
.header-trending a{
[464] Fix | Delete
color: <?php echo esc_attr( $color_header_trending_txt ); ?>;
[465] Fix | Delete
}
[466] Fix | Delete
[467] Fix | Delete
.header-trending a:hover{
[468] Fix | Delete
color: <?php echo esc_attr( $color_header_trending_acc ); ?>;
[469] Fix | Delete
}
[470] Fix | Delete
[471] Fix | Delete
[472] Fix | Delete
[473] Fix | Delete
[474] Fix | Delete
<?php
[475] Fix | Delete
[476] Fix | Delete
/* Dynamic border smart :) */
[477] Fix | Delete
[478] Fix | Delete
$header_sections = array_keys( array_filter( herald_get_option('header_sections') ) );
[479] Fix | Delete
if(!empty($header_sections)) {
[480] Fix | Delete
foreach($header_sections as $i => $section ){
[481] Fix | Delete
if( $i ){
[482] Fix | Delete
$bg1 = herald_get_option('color_header_'.$section.'_bg');
[483] Fix | Delete
$bg2 = herald_get_option('color_header_'.$prev.'_bg');
[484] Fix | Delete
if($bg1 == $bg2){
[485] Fix | Delete
echo '.header-'.$section.'{ border-top: 1px solid '.herald_hex2rgba(herald_get_option('color_header_'.$section.'_txt'), 0.15).';}';
[486] Fix | Delete
}
[487] Fix | Delete
}
[488] Fix | Delete
[489] Fix | Delete
$prev = $section;
[490] Fix | Delete
[491] Fix | Delete
if( ($i + 1) == count( $header_sections )){
[492] Fix | Delete
//check last section
[493] Fix | Delete
$last_bg = herald_get_option('color_header_'.$section.'_bg');
[494] Fix | Delete
if( $last_bg == $color_content_bg ){
[495] Fix | Delete
echo '.header-'.$section.'{ border-bottom: 1px solid '.herald_hex2rgba(herald_get_option('color_header_'.$section.'_txt'), 0.15).';}';
[496] Fix | Delete
}
[497] Fix | Delete
[498] Fix | Delete
if( $content_layout == 'boxed' ){
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function