fix banner style

This commit is contained in:
Vasil Kolev 2016-07-05 14:08:18 +03:00 committed by Openfest
parent 501186204b
commit f8c1de2542
1 changed files with 1 additions and 1 deletions

View File

@ -35,6 +35,6 @@
if(openfest_home_page()){ if(openfest_home_page()){
$blog_details = get_blog_details(); $blog_details = get_blog_details();
$blog_slug = str_replace('/', '', $blog_details->path); $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\') no-repeat;"><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\') 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>';
} }
?> ?>