mirror of
https://github.com/ascribe/wp-theme
synced 2024-12-22 09:13:38 +01:00
AD-1227 add title to featured blog section
This commit is contained in:
parent
a3c64f89c8
commit
0cc00526f2
@ -464,6 +464,7 @@ h5,
|
||||
.product-overview.small p,
|
||||
.blue-box,
|
||||
.galleries-marketplaces h1,
|
||||
.blog-features .centered-content > h1,
|
||||
.blog-features h2,
|
||||
.blog-features h1,
|
||||
.team,
|
||||
@ -2221,6 +2222,12 @@ header + .chevron-divider {
|
||||
background-color: #fbfbfb;
|
||||
padding: 75px 0;
|
||||
}
|
||||
.blog-features .centered-content > h1 {
|
||||
font-size: 30px;
|
||||
color: #000000;
|
||||
line-height: 36px;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
.blog-features .blog {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
|
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
@ -926,6 +926,10 @@ header + .chevron-divider {
|
||||
background-color: @greyBg;
|
||||
padding: 75px 0;
|
||||
|
||||
.centered-content > h1 {
|
||||
.galleriesPressTitle;
|
||||
}
|
||||
|
||||
.blog {
|
||||
.ttl-columns.column-3;
|
||||
margin-bottom: 40px;
|
||||
|
@ -332,6 +332,7 @@ class Subtemplate {
|
||||
}
|
||||
public function blogFeatures($page = "home") {
|
||||
$blogFeatures = '';
|
||||
$subtemplateTitle = get_sub_field('section_title');
|
||||
if (have_rows('blog_features','option')) {
|
||||
while (have_rows('blog_features','option')) {
|
||||
the_row();
|
||||
@ -366,6 +367,7 @@ class Subtemplate {
|
||||
if ($page == "home") {
|
||||
$result = "<section class='subtemplate blog-features'>
|
||||
<div class='centered-content'>
|
||||
<h1>{$subtemplateTitle}</h1>
|
||||
<div class='column-container'>
|
||||
{$blogFeatures}
|
||||
</div>
|
||||
@ -1208,4 +1210,4 @@ class Subtemplate {
|
||||
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user