Commit 81d01537 by Muhammad Usman

ui fixes

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