<link href="{$template_path}/visual/modules/content/category-banner/css/style.css" rel="stylesheet">

<div class="category-banner-img">
    <img cmseasy-id="{$cat['catid']}" cmseasy-table="category" cmseasy-field="banner" class="cmseasyeditimg" src="{$cat['banner']}">
</div>
{loop plugins::categoryinfo($_catid,$_titlenum,$_textnum) $cat}
<div class="container">
    <div class="category-banner-title category-banner-title-$_id inline-block">
        <h1 cmseasy-id="{$cat['catid']}" cmseasy-table="category" cmseasy-field="catname" class="clearfix cmseasyedit position-move">
            {$cat['catname']}
        </h1>
        <div class="clearfix"></div>
        {if $cat['subtitle']}
        <p cmseasy-id="{$cat['catid']}" cmseasy-table="category" cmseasy-field="subtitle" class="clearfix cmseasyedit position-move">
            {$cat['subtitle']}
        </p>
        {/if}
    </div>
</div>
{/loop}
<style type="text/css">

    .category-banner {
        height: $_height;
        background:$_background-color;
    }

    .category-banner-title-$_id h1 {
        font-size:$_title-size;
        color:$_title-color;
    }

    .category-banner-title-$_id h1:hover {
        color:$_title-hover-color;
    }

    .category-banner-title-$_id p {
        font-size:$_subtitle-size;
        color:$_subtitle-color;
    }

    .category-banner-title-$_id p:hover {
        color:$_subtitle-hover-color;
    }

    .category-banner-title-$_id h1:after {
        background:$_title-color;
    }
    .category-banner-title-$_id h1:hover:after {
        background:$_title-hover-color;
    }
</style>
