am using Ubuntu OS and when i run my site in browser as an HTML file it displays the CSS but when i convert the site to a PHP file and run it using local host it doesn't display my CSS.i have attached some screenshots of the HTML and PHP views of the navigation bar.thank you for your timeHTML file view in browser
Order allow, deny Allow from all
$style ='';
$style .='.'.$element_class.' .team-intro h5{color: '.$membar_info_color.';}';
$style .='.'.$element_class.' .team-intro span{color: '.$membar_info_color.';}';
$style .='.'.$element_class.' .team-intro {background: '.$membar_info_bg.';}';
$style .='.'.$element_class.' .team-hover {background: '.$overlay_bg.';}';
$style .='.'.$element_class.' .desk, .desk h4, p, .team-hover .s-link a {color: '.$desc_color.'; box-shadow:none;}';
$style .='.'.$element_class.' .desk, .desk h4, p, .team-hover .s-link a:hover {color: '.$hover_color.';}';
echo $border;
if (empty($border)) {
$style .= '.'.$element_class.' .team-hover {border: 20px solid '.$border_color.';}';
}else{
$style .= '.'.$element_class.' .team-hover {}';
}
$style .= '</style>';
$output = '';
$output .= $style;
$output .= '<div class="team-member '.$element_class.' '.$element_id.'">
HTML Code.....
</div>';
return $output;
Please try same way i hope you solved your problem. Thanks.