mirror of
https://github.com/ascribe/wp-theme
synced 2024-12-22 17:23:55 +01:00
Fix blog post preview
This commit is contained in:
parent
c7d1b35ae3
commit
8a3218b030
@ -2234,6 +2234,9 @@ header + .chevron-divider {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.blog-features .blog .excerpt {
|
||||
margin: 0 10px;
|
||||
}
|
||||
.blog-features .blog div {
|
||||
background-color: white;
|
||||
padding-bottom: 15px;
|
||||
|
2
assets/css/ascribe.min.css
vendored
2
assets/css/ascribe.min.css
vendored
File diff suppressed because one or more lines are too long
@ -930,6 +930,10 @@ header + .chevron-divider {
|
||||
.ttl-columns.column-3;
|
||||
margin-bottom: 40px;
|
||||
|
||||
.excerpt {
|
||||
margin: 0 10px;
|
||||
}
|
||||
|
||||
div {
|
||||
background-color: white;
|
||||
padding-bottom: 15px;
|
||||
|
@ -348,7 +348,9 @@ class Subtemplate {
|
||||
$blogFeatures .= "<a href='{$url}'><article class='blog'><div>
|
||||
<img src='{$image}' alt='{$postTitle} Image'>
|
||||
<h2>{$title}</h2>
|
||||
<h1>{$postTitle}</h1></div>
|
||||
<h1>{$postTitle}</h1>
|
||||
<div class='excerpt'>{$content}</div>
|
||||
</div>
|
||||
</article></a>";
|
||||
|
||||
}
|
||||
@ -1208,4 +1210,4 @@ class Subtemplate {
|
||||
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user