Support for Envato Buyers Forums Samsara 3 columns in footer instead of 4

Viewing 1 reply thread
  • Author
    Posts
    • #6607
      mikenovacane
      Member

      Hey Johnny,
      Just wondering if there’s any way to make the footer only utilize 3 widget columns and have those 3 span the entire footer. Rather than not using the 4th column and having a blank space on the right hand side where the 4th would normally go.
      Thanks!

    • #6614

      Hi

      You need to customize the footer.php, find the following code

      <div class="widgets four columns alpha"><?php  if ( ! dynamic_sidebar('bottom-widget-1' ) ) :   endif;?></div>
                <div class="widgets four columns alpha"><?php  if ( ! dynamic_sidebar('bottom-widget-2' ) ) :   endif;?></div>
                <div class="widgets four columns alpha"><?php  if ( ! dynamic_sidebar('bottom-widget-3' ) ) :   endif;?></div>
                <div class="widgets four columns alpha omega"><?php  if ( ! dynamic_sidebar('bottom-widget-4' ) ) :   endif;?></div>

      Change to

      <div class="widgets five columns alpha"><?php  if ( ! dynamic_sidebar('bottom-widget-1' ) ) :   endif;?></div>
                <div class="widgets five columns alpha"><?php  if ( ! dynamic_sidebar('bottom-widget-2' ) ) :   endif;?></div>
                <div class="widgets five columns alpha omega"><?php  if ( ! dynamic_sidebar('bottom-widget-3' ) ) :   endif;?></div>

      Put the following CSS into Samsara options > Custom code > custom CSS

      #bottom .column.alpha, #bottom .columns.alpha {
        margin-left: 30px;
      }

      Thanks

Viewing 1 reply thread
  • You must be logged in to reply to this topic.