File: D:/HostingSpaces/MvAlphen/va-bo.nl/wwwroot/wp-content/themes/hattan/includes/custom_css.php
<?php
function generate_dynamic_style_css() {
global $smof_data;
$ef1_custom_style = '';
if($smof_data['general-color']){
$ef1_custom_style .= ".general-color, #portfolio-container .current-category a, #portfolio-container nav a:hover, .social-3:hover, .infobox-1:hover header *, .infobox-1:hover i, .team-member:hover h6, .front i, .infobox-3 i, .post > header a:hover, .post > footer a:hover, #tags-footer a, #sidebar .widget a:hover, body > .container a:hover, body > footer a:hover, #comments-list a:hover {
color:".$smof_data['general-color']." !important;\n }";
$ef1_custom_style .= ".general-bg, .infobox-7:hover i,.pricing-table-1 li:last-child a:hover, .testimonials .bx-pager-item .active, .testimonials .bx-pager-item a:hover, .portfolio-type-2 .item:hover .portfolio-info-2, .portfolio-type-3 .item:hover .portfolio-info-2, .portfolio-type-4 .item:hover .portfolio-info-2, .wpcf7 .wpcf7-form .contactform-1 button, .wpcf7 .wpcf7-form .contactform-1 input[type='submit'], .team-member-2 .team-info, .portfolio-slideshow .rslides_nav:hover, .post-slideshow .rslides_nav:hover, #sidebar .tagcloud a:hover, .button-2:hover, .wpcf7 input.button-2[type='submit']:hover, #post-nav a:hover, #comment-form input.button-2[type='submit']:hover, .rev .tp-leftarrow.default:hover, .rev .tp-rightarrow.default:hover, #portfolio-items .item .portfolio-info {
background-color:".$smof_data['general-color']." !important;\n }";
$ef1_custom_style .= ".general-border, #portfolio-container .current-category a, blockquote, #portfolio-container nav a:hover, .social-3:hover, {
border-color:".$smof_data['general-color']." !important;\n
}\n
*::-moz-selection {
background-color:".$smof_data['general-color']." !important;\n
}\n
::selection {
background-color:".$smof_data['general-color']." !important;\n
}\n
.ui-tabs-active {
border-top: 2px solid ".$smof_data['general-color']." !important;
}\n
";
}
if(!empty($ef1_custom_style)){
echo "\n<!-- CUSTOM STYLE -->\n<style type=\"text/css\">\n".$ef1_custom_style."\n\n</style>\n<!-- END CUSTOM STYLE -->\n";
}
}
add_action('wp_head','generate_dynamic_style_css');