Skip to content

Commit

Permalink
Merge pull request #1219 from LibraryOfCongress/set-position-on-initi…
Browse files Browse the repository at this point in the history
…al-homepage-load

Set carousel overlay position on initial homepage load
  • Loading branch information
rstorey authored Apr 8, 2020
2 parents 5567c45 + c457232 commit 3624031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion concordia/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{% if CAROUSEL_CMS %}
<div class="row no-gutters px-sm-3">
<div class="col-12">
<div id="homepage-carousel" class="carousel slide" data-ride="carousel" data-pause="hover">
<div id="homepage-carousel" class="carousel slide" data-ride="carousel" data-pause="hover" {% if slides.0.overlay_position == "right" %} data-overlay-position="top-right" {% endif %}>
<ol class="carousel-indicators d-none d-lg-flex">
{% for slide in slides %}
<li data-target="#homepage-carousel" data-slide-to="{{ forloop.counter0 }}" {% if forloop.first %}class="active" {% endif %}></li>
Expand Down

0 comments on commit 3624031

Please sign in to comment.