remove widget class from webpage blocks and make titles h2 to match the rest of the matrix

This commit is contained in:
Mario Vavti 2015-04-13 16:17:10 +02:00
parent 159525789a
commit 22c3202f22
2 changed files with 2 additions and 2 deletions

View File

@ -143,7 +143,7 @@ function comanche_block($name) {
dbesc($name) dbesc($name)
); );
if($r) { if($r) {
$o = '<div class="widget bblock">'; $o = '<div class="bblock">';
if($r[0]['title']) if($r[0]['title'])
$o .= '<h3>' . $r[0]['title'] . '</h3>'; $o .= '<h3>' . $r[0]['title'] . '</h3>';

View File

@ -1,7 +1,7 @@
<div class="page"> <div class="page">
<div class="generic-content-wrapper" id="page-content-wrapper" > <div class="generic-content-wrapper" id="page-content-wrapper" >
{{if $title}}<h3 class="page-title">{{$title}}</h3>{{/if}} {{if $title}}<h2 class="page-title">{{$title}}</h2>{{/if}}
<div class="page-author"><a class=="page-author-link" href="{{$auth_url}}">{{$author}}</a></div> <div class="page-author"><a class=="page-author-link" href="{{$auth_url}}">{{$author}}</a></div>
<div class="page-date">{{$date}}</div> <div class="page-date">{{$date}}</div>
<div class="page-body">{{$body}}</div> <div class="page-body">{{$body}}</div>