Skip to content

Commit

Permalink
Update learning pathways
Browse files Browse the repository at this point in the history
  • Loading branch information
koechkevin committed Nov 21, 2023
1 parent 715ecfe commit 6f54b21
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 55 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
display: flex;
justify-content: space-between;

.title-section {
padding: 0 60px;
}

.filter-sidebar {
display: flex;
flex: 1;
Expand All @@ -23,7 +27,6 @@
margin-bottom: 20px;
}
}

}

.courses-main {
Expand All @@ -32,12 +35,14 @@
.course-grid {
padding: 80px 60px 40px;
width: 100%;

.cfa-title {
margin: 0 0 32px;
}
.learndash-course-grid {
.grid {
flex-wrap: wrap;
}
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,18 @@ $background-color_1: var(--primary-700, #0c1a81);
height: 1px;
}

.cfa-title {
color: $color_1;
font-family: $font-family_2;
font-size: 40px;
font-style: normal;
font-weight: 700;
line-height: 48px;
margin: 0;
}

.learning-pathways {
padding: 80px 60px 40px;
.cfa-title {
color: $color_1;
font-family: $font-family_2;
font-size: 40px;
font-style: normal;
font-weight: 700;
line-height: 48px;
margin: 0;
&::after {
content: "";
display: block;
height: 6px;
width: 60px;
background: #ed1c24;
margin-top: 32px;
}
}
.description {
color: $color_2;
font-family: $font-family_1;
Expand Down Expand Up @@ -74,7 +67,7 @@ $background-color_1: var(--primary-700, #0c1a81);
}
.pathway-card-content {
padding: 20px;
height: 100px;
height: 200px;
display: flex;
flex-direction: column;
justify-content: space-between;
Expand Down Expand Up @@ -110,30 +103,28 @@ $background-color_1: var(--primary-700, #0c1a81);
display: block;
}
}
.learning-pathways {
.cfa-title {
font-size: 20px;
&::after {
margin-top: 10px;
}
.cfa-title {
font-size: 20px;
&::after {
margin-top: 10px;
}
}
.learning-pathways {
.content {
justify-content: center;
}
}
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
.learning-pathways {
.cfa-title {
.cfa-title {
text-align: center;
&::after {
text-align: center;
&::after {
text-align: center;
position: relative;
font-size: 20px;
left: 50%;
transform: translateX(-50%);
margin-top: 10px;
}
position: relative;
font-size: 20px;
left: 50%;
transform: translateX(-50%);
margin-top: 10px;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ protected function render()
$pathways = $settings['pathways'];
$filter_by = "Filter by:";
$filter_options = $this->get_filter_by();
$courses_title = "All Courses";
?>
<main class="all-courses">
<aside class="filter-sidebar">
Expand Down Expand Up @@ -323,6 +324,9 @@ protected function render()
</div>
</section>
<section class="course-grid">
<h4 class="cfa-title">
<? echo $courses_title ?>
</h4>
<?php echo do_shortcode('[learndash_course_grid id="course-list" columns="3" skin="grid" card="grid-1" per_page="9" filter="false" progress_bar="" button="" pagination="button" ]'); ?>
</section>
</div>
Expand Down

0 comments on commit 6f54b21

Please sign in to comment.