fix banner style

This commit is contained in:
Vasil Kolev 2016-07-05 14:46:47 +03:00 committed by Openfest
parent f8c1de2542
commit 2ed2a73af4
1 changed files with 1 additions and 1 deletions

View File

@ -35,6 +35,6 @@
if(openfest_home_page()){
$blog_details = get_blog_details();
$blog_slug = str_replace('/', '', $blog_details->path);
echo '<section class="banner cf" style="background: url(\''.get_template_directory_uri().'/img/banner-back-'.$blog_slug.'.jpg\') center repeat-x;padding: 0.2em 0 0 0;height: 258px;"><img src="'.get_template_directory_uri().'/img/banner-'.of_get_lang().'-'. $blog_slug .'.png" alt="" /></section>';
echo '<section class="banner cf" style="background: url(\''.get_template_directory_uri().'/img/banner-back-'.$blog_slug.'.jpg\') top repeat-x;padding: 0.2em 0 0 0;height: 258px;"><img src="'.get_template_directory_uri().'/img/banner-'.of_get_lang().'-'. $blog_slug .'.png" alt="" /></section>';
}
?>