diff --git a/static/css/style.css b/static/css/style.css index a9094b8dc43355d4711aeaed3918521c27db6df0..756f48706ed889f7a647f28d017839e420598d5d 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -170,3 +170,7 @@ time.icon span { .carousel .carousel-image { max-height: 500px; } + +.button-wrapper { + text-align: center; +} \ No newline at end of file diff --git a/templates/page_with_carousel_button.html b/templates/page_with_carousel_button.html index ff89ae3af5f8da1a9ec8cebf7bd8624a60396016..a42059018a6d22f36216e660425a745857d6fc76 100644 --- a/templates/page_with_carousel_button.html +++ b/templates/page_with_carousel_button.html @@ -85,8 +85,10 @@ {% block template_content_footer %} -<button type="button" class="btn btn-default btn-lg"> - {% set button = page.button.split('|') %} - <a href="{{ button[0] }}">{{ button[1] }}</a> -</button> +<div class="button-wrapper"> + <button type="button" class="btn btn-default btn-lg"> + {% set button = page.button.split('|') %} + <a href="{{ button[0] }}">{{ button[1] }}</a> + </button> +</div> {% endblock %}