diff --git a/themes/bootstrap3/templates/search/home.phtml b/themes/bootstrap3/templates/search/home.phtml
index a23698ea04fc7296b5bbc582ede5a272c0675c35..2fb0d21316c8e09a06708c3d809e5f5d271bdeee 100644
--- a/themes/bootstrap3/templates/search/home.phtml
+++ b/themes/bootstrap3/templates/search/home.phtml
@@ -39,7 +39,7 @@
     <div class="<?=$field=='callnumber-first' ? 'col-sm-6' : 'col-sm-3' ?>">
       <p class="lead"><?=$this->transEsc('home_browse') . ' ' . $this->transEsc($details['label'])?></p>
       <div class="row">
-        <ul class="list-unstyled<? if ($field == "callnumber-first"): ?> col-sm-6<?endif?>">
+        <ul class="list-unstyled <?=$field == "callnumber-first" ? 'col-sm-6' : 'col-sm-12' ?>">
         <? /* Special case: two columns for LC call numbers... */ ?>
         <? if ($field == "callnumber-first"): ?>
           <? $i = 0; foreach ($sortedList as $url => $value): ?>