Commit 81d01537 by Muhammad Usman

ui fixes

parent 97b6a79a
Pipeline #253 passed with stage
in 0 seconds
<div class="container">
<div class="row">
<div class="container" style="margin-top: 40px;">
<div class="row" style="margin-bottom: 40px;">
<div class="col-sm-12">
<div class="e-learning-heading">
<h4>[[BANNER_HEADING]]</h4>
......
......@@ -38,7 +38,7 @@
width: 100%;
padding-top: 100px;
padding-bottom: 100px;
margin-top: 20px;
/*margin-top: 20px;*/
}
.bootstrap-iso .e-learning-heading h2 {
font-size: 30px;
......@@ -313,21 +313,21 @@
padding-right: 0px;
}
.bootstrap-iso .download-course-box {
width: 100%;
width: 150px;
height: 150px;
float: right;
background-color: #219ff2;
padding-top: 34px;
padding-bottom: 33px;
padding-left: 15px;
padding-right: 15px;
padding: 45px 15px;
cursor: pointer;
}
.bootstrap-iso .download-course-box:hover {
width: 100%;
width: 150px;
height: 150px;
float: right;
background-color: #f5ae4f;
padding-top: 34px;
padding-bottom: 33px;
padding-left: 15px;
padding-right: 15px;
padding: 45px 15px;
cursor: pointer;
}
.bootstrap-iso .inquire-box {
width: 100%;
......@@ -615,7 +615,7 @@
color: white;
}
.bootstrap-iso .e-learning-link {
margin-top: 5%;
margin-top: 2.5%;
}
.bootstrap-iso .lms-learner-remove{
......@@ -715,4 +715,8 @@
background: #fff;
width: 100%;
height: 100%;
}
.bootstrap-iso h3.lms-excerpt{
text-align: center;
color: #fff;
}
\ No newline at end of file
<?php
get_header();
$page = get_page_by_path('lms-courses');
$tax = get_query_var('course');
$args = array(
......@@ -19,6 +18,8 @@ while($courses1->have_posts()) {
echo "<script> crsList = " . json_encode($crsList) . " </script>>";
$page = get_page_by_path('lms-courses');
?>
<div class="bootstrap-iso">
......@@ -27,7 +28,7 @@ echo "<script> crsList = " . json_encode($crsList) . " </script>>";
<div class="row">
<div class="e-learning-heading">
<h2><?php echo $page->post_title ?></h2>
<h3><?php echo $page->post_excerpt ?></h3>
<h3 class="lms-excerpt"><?php echo $page->post_excerpt ?></h3>
</div>
</div>
</div>
......@@ -44,11 +45,11 @@ echo "<script> crsList = " . json_encode($crsList) . " </script>>";
<div class="col-sm-8">
<?php while($courses->have_posts()) { $courses->the_post(); ?>
<div class="course-box">
<div class="col-sm-3 col-padding">
<div class="col-sm-3 col-padding" style="line-height: 0;">
<?php the_post_thumbnail('thumbnail') ?>
</div>
<div class="col-sm-6">
<div class="course-heading" style="max-height: 105px; overflow: hidden;">
<div class="col-sm-6 col-padding">
<div class="course-heading" >
<h3><?php the_title(); ?> </h3>
<?php the_content(); ?>
</div>
......@@ -58,10 +59,6 @@ echo "<script> crsList = " . json_encode($crsList) . " </script>>";
<div class="course-heading">
<h4><a href="<?php echo '/download-all/?course=' .get_the_ID(); ?>">Download <br>course list</a></h4>
</div>
<div class="text-center">
</div>
</div>
</div>
<div class="clear"></div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment