single-sfwd-courses.php
2.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<?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();?>