Skip to content
Snippets Groups Projects
Commit 80fddbf3 authored by Kevin Paxman's avatar Kevin Paxman
Browse files

Merge branch...

Merge branch 'feature/ISTWCMS-4868-m26lebla-Fix-identified-inconsistencies-for-banner-image-block' into '3.0.x'

ISTWCMS-4868: m26lebla updated banner

See merge request !109
parents 0981233b 154807e1
No related branches found
No related tags found
1 merge request!109ISTWCMS-4868: m26lebla updated banner
...@@ -64,12 +64,17 @@ $faculties: 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env', 'org-mat' ...@@ -64,12 +64,17 @@ $faculties: 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env', 'org-mat'
text-align: center; text-align: center;
width: 100%; width: 100%;
z-index: gesso-z-index(overlay); z-index: gesso-z-index(overlay);
h2 { .card__title {
margin: 0; font-family: $header-font-family;
font-size: gesso-font-size(6);
line-height: 1.25;
margin:0;
} }
.sub-title { .sub-title {
font-family: $header-font-family; font-family:gesso-font-family(book);
font-size: gesso-font-size(0);
line-height:1;
} }
} }
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
card_type: 'banner', card_type: 'banner',
title: image.big_text, title: image.big_text,
sub_title: image.small_text, sub_title: image.small_text,
header_level: 2,
url: image.link, url: image.link,
} %} } %}
{% endfor %} {% endfor %}
...@@ -27,7 +27,12 @@ ...@@ -27,7 +27,12 @@
{% endif %} {% endif %}
{% if show_title == 'yes' %} {% if show_title == 'yes' %}
<h{{ header_level }} class="card__title"> {% if header_level %}
<h{{ header_level }} class="card__title">
{% else %}
<div class="card__title">
<strong>
{% endif %}
{% if url %} {% if url %}
<a href="{{ url }}"> <a href="{{ url }}">
{% endif %} {% endif %}
...@@ -35,7 +40,13 @@ ...@@ -35,7 +40,13 @@
{% if url %} {% if url %}
</a> </a>
{% endif %} {% endif %}
</h{{ header_level }}> </strong>
{% if header_level %}
</h{{ header_level }}>
{% else %}
</div>
{% endif%}
{% if sub_title %} {% if sub_title %}
<span class="sub-title">{{ sub_title }}</span> <span class="sub-title">{{ sub_title }}</span>
{% endif %} {% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment