diff --git a/themes/bootstrap3/less/components/lightbox.less b/themes/bootstrap3/less/components/lightbox.less index 207faecbca45b2282c561caa5832f033934d31a0..32da48c274bc323e86e55cf403b8c22a369ee35e 100644 --- a/themes/bootstrap3/less/components/lightbox.less +++ b/themes/bootstrap3/less/components/lightbox.less @@ -34,6 +34,13 @@ margin-bottom: 1.3rem; } +#modal-title { + display: block; + padding: 0.8rem 1rem 0.7rem; + font-size: 23px; + font-weight: normal; +} + #modal .cart-controls .btn { margin-bottom: 4px; } #modal .cart-controls .checkbox { padding-bottom: 1rem; } #modal .cart-controls ~ hr { margin-top: 0; } diff --git a/themes/bootstrap3/templates/layout/layout.phtml b/themes/bootstrap3/templates/layout/layout.phtml index aa07ed7b8c998e0c2eb43e7765c520f0f7e36fa4..12631e89bf712dceb6575209f2c4f7fd4b3e5aa4 100644 --- a/themes/bootstrap3/templates/layout/layout.phtml +++ b/themes/bootstrap3/templates/layout/layout.phtml @@ -196,9 +196,8 @@ JS; <div class="modal-dialog"> <div class="modal-content"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> - <div class="modal-body"> - <span id="modal-title"><?=$this->transEsc('Loading') ?>...</span> - </div> + <span id="modal-title" role="heading"><?=$this->transEsc('Loading') ?>...</span> + <div class="modal-body"></div> </div> </div> </div> diff --git a/themes/bootstrap3/templates/layout/lightbox.phtml b/themes/bootstrap3/templates/layout/lightbox.phtml index d54f7effce886e93ffcde3b562e71d29737df419..dbde8d57ff6f31fed0d44eb4995f0f334f921ac6 100644 --- a/themes/bootstrap3/templates/layout/lightbox.phtml +++ b/themes/bootstrap3/templates/layout/lightbox.phtml @@ -1,4 +1,3 @@ -<span id="modal-title" hidden><?=$this->headTitle()->renderTitle() ?></span> <?=$this->layout()->content?> <?=$this->piwik(['lightbox' => true])?> <?=$this->googleanalytics($this->serverUrl(true))?>