This repository was archived by the owner on Aug 8, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +42
-14
lines changed
Expand file tree Collapse file tree 5 files changed +42
-14
lines changed Original file line number Diff line number Diff line change 300300 }
301301 }
302302
303+ // Course template
304+ & .single-cc_course .single-header--course {
305+ padding-top : 0 ;
306+
307+ .wrapper {
308+ display : flex ;
309+ flex-direction : column ;
310+ justify-content : space-between ;
311+ align-items : flex-start ;
312+ min-height : 350px ;
313+ }
314+
315+ .breadcrumbs {
316+ margin-left : $space-larger ;
317+ }
318+
319+ .title-box {
320+ z-index : 2 ;
321+ display : inline-block ;
322+ transform : translateY ($space-large * 2 );
323+ }
324+ }
325+
303326 // Stats shortcode
304327 .stats {
305328 // Hide WordPress generated brs
Original file line number Diff line number Diff line change @@ -116,3 +116,7 @@ main {
116116 padding-right : $space-normal ;
117117 }
118118}
119+
120+ .has-background-soft-gold {
121+ background-color : #fef6d8 ;
122+ }
Original file line number Diff line number Diff line change 1- <?php
2- if ( function_exists ( 'yoast_breadcrumb ' ) ) {
3- yoast_breadcrumb ( '<p class="breadcrumbs breadcrumbs--dark" id="breadcrumbs"> ' , '</p> ' );
4- }
5- ?>
6- <h2 class="title is-1 has-text-black"><?php the_title (); ?> </h2>
1+ <div class="wrapper">
2+ <?php
3+ if ( function_exists ( 'yoast_breadcrumb ' ) ) {
4+ yoast_breadcrumb ( '<p class="breadcrumbs breadcrumbs--dark" id="breadcrumbs"> ' , '</p> ' );
5+ }
6+ ?>
7+
8+ <div class="padding-vertical-large padding-horizontal-larger has-background-white title-box">
9+ <h2 class="title is-2 has-text-black"><?php the_title (); ?> </h2>
10+ </div>
11+ </div>
Original file line number Diff line number Diff line change 33 the_post ();
44?>
55<section class="main-content">
6- <header class="single-header">
6+ <header class="single-header single-header--course ">
77 <div class="container">
8- <div class="columns is-centered">
9- <div class="column is-12">
10- <?php get_template_part ( 'inc/partials/entry/course ' , 'header ' ); ?>
11- </div>
12- </div>
8+ <?php get_template_part ( 'inc/partials/entry/course ' , 'header ' ); ?>
139 </div>
1410 </header>
1511 <div class="container">
1612 <div class="columns is-centered">
17- <div class="column is-4">
13+ <div class="column is-4 has-background-soft-gold ">
1814 wow
1915 </div>
2016 <div class="column is-8">
You can’t perform that action at this time.
0 commit comments