1
0
mirror of https://github.com/ascribe/wp-theme synced 2024-12-23 01:30:09 +01:00

Fix blog post preview

This commit is contained in:
vrde 2015-11-03 16:19:47 +01:00
parent c7d1b35ae3
commit 8a3218b030
4 changed files with 12 additions and 3 deletions

View File

@ -2234,6 +2234,9 @@ header + .chevron-divider {
width: 100%; width: 100%;
} }
} }
.blog-features .blog .excerpt {
margin: 0 10px;
}
.blog-features .blog div { .blog-features .blog div {
background-color: white; background-color: white;
padding-bottom: 15px; padding-bottom: 15px;

File diff suppressed because one or more lines are too long

View File

@ -930,6 +930,10 @@ header + .chevron-divider {
.ttl-columns.column-3; .ttl-columns.column-3;
margin-bottom: 40px; margin-bottom: 40px;
.excerpt {
margin: 0 10px;
}
div { div {
background-color: white; background-color: white;
padding-bottom: 15px; padding-bottom: 15px;

View File

@ -348,7 +348,9 @@ class Subtemplate {
$blogFeatures .= "<a href='{$url}'><article class='blog'><div> $blogFeatures .= "<a href='{$url}'><article class='blog'><div>
<img src='{$image}' alt='{$postTitle} Image'> <img src='{$image}' alt='{$postTitle} Image'>
<h2>{$title}</h2> <h2>{$title}</h2>
<h1>{$postTitle}</h1></div> <h1>{$postTitle}</h1>
<div class='excerpt'>{$content}</div>
</div>
</article></a>"; </article></a>";
} }