1
0
Преглед на файлове

Fixed #5: Formatierung Startseite-Beiträge angepasst

Moritz Schmidt преди 9 години
родител
ревизия
ed9ed234a2
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      single.php

+ 2 - 2
single.php

@@ -11,7 +11,7 @@
                 <span class="tag tag-pill"><?php the_time("M"); ?><br><?php the_time("y"); ?></span>
               </div>
             <?php } ?>
-            <div class="col-lg-11<?php if(in_category('Startseite')) { echo " offset-lg-1"; } ?>">
+            <div class="<?php echo (in_category('Startseite') ? "col-lg-12" : "col-lg-11")?>">
               <h1><?php the_title(); ?></h1>
             </div>
           </div>
@@ -19,7 +19,7 @@
       </div>
       <div class="container text-muted">
         <div class="row">
-          <div class="col-lg-11 offset-lg-1">
+          <div class="<?php echo (in_category('Startseite') ? "col-lg-12" : "col-lg-11 offset-lg-1")?>">
             <?php the_content(); ?>
           </div>
         </div>