Skip to content

Commit

Permalink
Fix (again) regression in footer
Browse files Browse the repository at this point in the history
  • Loading branch information
conradolandia committed Feb 6, 2024
1 parent 214d256 commit fbe2ae8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
6 changes: 3 additions & 3 deletions assets/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2159,13 +2159,13 @@ button:hover:disabled,
margin-bottom: 0.5em;
}

#fh5co-footer .container .footer-connect-line {
#fh5co-footer .container .footer-connect-line .text-center p {
font-size: 0.9em;
line-height: 1.5em;
margin-bottom: 1em;
margin-bottom: 0.25em;
}

#fh5co-footer .container .footer-copyright {
#fh5co-footer .container .footer-copyright .text-center p {
font-size: 0.7em;
line-height: 1.25em;
}
Expand Down
16 changes: 9 additions & 7 deletions templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -255,13 +255,15 @@
{%- if config.THEME_SETTINGS.footer_links %}
<div class="row footer-connect-line">
<div class="text-center">
Connect with us on:
{%- for footer_link in config.THEME_SETTINGS.footer_links.replace(', ', ',').split(',') %}
{%- if loop.index > 1 %}
<span class="pipe-colored">|</span>
{%- endif %}
<a href="{{ footer_link.split(': ')[1] }}"> {{ footer_link.split(': ')[0] }} </a>
{%- endfor %}
<p>
Connect with us on:
{%- for footer_link in config.THEME_SETTINGS.footer_links.replace(', ', ',').split(',') %}
{%- if loop.index > 1 %}
<span class="pipe-colored">|</span>
{%- endif %}
<a href="{{ footer_link.split(': ')[1] }}"> {{ footer_link.split(': ')[0] }} </a>
{%- endfor %}
</p>
</div>
</div>
{%- endif %}
Expand Down

0 comments on commit fbe2ae8

Please sign in to comment.