Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. <div class="row"><?php echo $column_left; ?>
  2. <?php $class = 'col-sm-6'; ?>
  3. <?php } elseif ($column_left || $column_right) { ?>
  4. <?php $class = 'col-sm-9'; ?>
  5. <?php } else { ?>
  6. <?php $class = 'col-sm-12'; ?>
  7. <?php } ?>
  8.  
  9. <div class="row"><?php echo $column_left; ?>
  10. <?php if ($column_left && $column_right) {
  11. $class = 'col-sm-6';
  12. }
  13. elseif ($column_left || $column_right) {
  14. $class = 'col-sm-9';
  15. } else {
  16. $class = 'col-sm-12';
  17. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement