single-sfwd-courses.php 2.86 KB
<?php
/*
 * 
 */

global $user_ID;
get_currentuserinfo();
if (!$user_ID) {
    auth_redirect();
}
?>
<?php get_header("brokerlanding");
global $wpdb;
?>
<?php if (has_post_thumbnail( $post->ID ) ): ?>
    <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?>
		<div class="header-image" id="header-image" style="background-image: url(<?php echo $image[0]; ?>);">
		<div>
       
        
      
      </div>
    </div>
			
		</div>
			</div>	
	
	<?php endif; ?>	
<div id="brokercontent">
    <div class="row">
        <?php include_once 'broker_sidebar.php';?>
    </div>
    <div class="row">
        <?php include_once 'broker_sidebar_tab.php';?>
    </div>
    <div id="page-content">
        <?php
if (function_exists(clean_custom_menus())) {
    clean_custom_menus();
}
?>
       
        <?php get_template_part('loop', 'single');?>
    </div>
</div>

<div class="new-footer-box">
<div  class="left-image-menu"><a href="<?php echo site_url(); ?>/lets-connect-info/"></a></div>
<?php wp_nav_menu(
    array(
        'theme_location' => 'broker-footer',
        'container' => 'nav',
        'container_id' => 'broker-footer',
    )
);

?>
</div>
<script>

jQuery(document).ready(function ($) {
    $(document).ready(function(){
        $('input').iCheck({
          checkboxClass: 'icheckbox_square-blue',
          radioClass: 'iradio_square-blue',
          increaseArea: '5%' // optional
        });
      });

    });
    </script>

<style>
    html {
        margin-top : 32px !important;
    }
    #page-content{
        max-width:unset !important;
    }
    h1 {
        font-size: 45px !important;
        margin-bottom: 30px;
        text-align: center;
        font-weight: 400;
        color:#949598;
        font-family: 'HelveticaNeue-Light';
        
    }
    @media(max-width : 768px) {
        h1 {
        font-size: 35px !important;
        }
    }
    h2{
        font-family: "HelveticaNeue", Helvetica, Arial, sans-serif;
        font-weight: bold !important;
        font-size: 20px !important;
        text-transform:none !important;
    }
    .ld-quiz-status,
    .ld-lesson-status,
    .learndash-wrapper .ld-course-status.ld-course-status-enrolled{
        margin-bottom: 30px;
    }

.article-info {
    display: none;
}
#page-content article ol li:before{
    display: none !important;
}
#brokercontent{
    margin-top: 0px  !important;
    }
    .has-medium-font-size {
    font-size: 20px !important;
}
.wp-block-embed iframe{
    max-width: 100%;
    width: 100% !important;
    height: 600px;
}
@media(max-width : 1200px) {
    .wp-block-embed iframe{
    max-width: 100%;
    width: 100% !important;
    height: 400px;
}
@media(max-width : 768px) {
    .wp-block-embed iframe{
    max-width: 100%;
    width: 100% !important;
    height: 300px;
    
}
}
.bread:first-child {
	display:none !important;

}

</style>
<?php get_footer();?>