Remove Side Bar on Login page and center

Discussion in 'SaleJunction E-Commerce WordPress Theme' started by richarbran, Oct 21, 2014.

Thread Status:
Not open for further replies.
  1. richarbran

    richarbran Member

    Joined:
    Aug 12, 2013
    Messages:
    58
    Likes Received:
    0
    I'd like to remove the sidebar on the login page and center the content if possible. Thanks in advance.
     
  2. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello,
    Follow below image and Replace all the code of login.php file with this code
    PHP:
    <?php
    /**
    * Template Name: Template Login
    *
    */
    ?>
    <?php get_header
    (); ?>
    <div class="content_wrapper">
        <div class="page-content woocommerce">
            <div class="container_24">
                <div class="grid_24">
                <div class="grid_4 alpha">
            <br/>
                </div>
               
            <div class="grid_16 ">
                        <div class="content-bar">
                        <?php       
                
    if (!is_user_logged_in()) {   
                    
    //call login form
                        
    sj_login_form();
                        
    //call registration form
                        
    $redirect inkthemes_get_option('user_redirect');
                        
    sj_register_form($redirect);
                }               
                
    ?>
               
                <div class="clear"></div>
                        </div>
                        </div>
                        <div class="grid_4 omega">
      <br/>
                </div>
     
                </div>
            </div>
        </div>
    </div>
    <?php get_footer(); ?>
    Thanks & Regards
    Pramod
     

    Attached Files:

    • 1.png
      1.png
      File size:
      180 KB
      Views:
      8
  3. richarbran

    richarbran Member

    Joined:
    Aug 12, 2013
    Messages:
    58
    Likes Received:
    0
    Worked perfectly. Thanks so much!
     
Thread Status:
Not open for further replies.

Share This Page