c39fcc12 by Jeff Balicki

footer

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 1033ac36
......@@ -17855,6 +17855,7 @@ ul.sf_date_field .sf-datepicker {
.side-menu {
list-style: none;
margin-top: 14px;
padding-left: 15px;
}
.side-menu li {
margin-bottom: 14px;
......@@ -17873,6 +17874,35 @@ ul.sf_date_field .sf-datepicker {
width: 100%;
}
}
#wrapper-footer {
background-color: #F0F0F0;
padding: 33px 0px;
}
.chw-title {
font-size: 20px;
font-weight: bold;
margin-bottom: 10px;
text-transform: uppercase;
text-align: left;
}
#menu-footer {
list-style: none;
margin-left: 0px;
padding-left: 0px;
}
#menu-footer li a {
color: #000;
font-size: 16px;
line-height: 22px;
font-weight: 400;
text-decoration: none;
}
#menu-footer li a:hover {
color: #fff;
}
.has-blue-color,
.has-blue-color:visited {
color: #0d6efd;
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
<?php
/**
* The template for displaying the footer
*
* Contains the closing of the #content div and all content after
*
* @package Understrap
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
$container = get_theme_mod( 'understrap_container_type' );
?>
<?php get_template_part( 'sidebar-templates/sidebar', 'footerfull' ); ?>
<div class="wrapper" id="wrapper-footer">
<div class="<?php echo esc_attr( $container ); ?>">
<div class="row">
<div class="col-md-6 col-sm-12">
<footer class="site-footer" id="colophon">
<div class="site-info">
<?php dynamic_sidebar( 'custom-footer-left-widget' ); ?>
</div><!-- .site-info -->
</footer><!-- #colophon -->
</div><!-- col -->
<div class="col-md-6 col-sm-12">
<footer class="site-footer" id="colophon">
<div class="site-info">
<?php dynamic_sidebar( 'custom-footer-right-widget' ); ?>
</div><!-- .site-info -->
</footer><!-- #colophon -->
</div><!-- col -->
</div><!-- .row -->
</div><!-- .container(-fluid) -->
</div><!-- #wrapper-footer -->
<?php // Closing div#page from header.php. ?>
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>
......@@ -8,3 +8,4 @@ require_once 'search-extras.php';
require_once 'disable-comments.php';
require_once 'blocks.php';
require_once 'side-menu.php';
require_once 'widgets.php';
......
<?php
function wpb_widgets_init() {
register_sidebar( array(
'name' => 'Custom Footer Left Widget Area',
'id' => 'custom-footer-left-widget',
'before_widget' => '<div class="chw-widget">',
'after_widget' => '</div>',
'before_title' => '<h2 class="chw-title">',
'after_title' => '</h2>',
) );
register_sidebar( array(
'name' => 'Custom Footer Right Widget Area',
'id' => 'custom-footer-right-widget',
'before_widget' => '<div class="chw-widget">',
'after_widget' => '</div>',
'before_title' => '<h2 class="chw-title">',
'after_title' => '</h2>',
) );
}
add_action( 'widgets_init', 'wpb_widgets_init' );
\ No newline at end of file
......@@ -12,4 +12,5 @@ body{
@import "search_results";
@import "front_page";
@import "page";
@import "footer";
......
#wrapper-footer{
background-color: #F0F0F0;
padding: 33px 0px;
}
.chw-title{
font-size: 20px;
font-weight: bold;
margin-bottom: 10px;
text-transform: uppercase;
text-align: left;
}
#menu-footer{
list-style: none;
margin-left: 0px;
padding-left: 0px;
li{
a{
color: #000;
font-size: 16px;
line-height: 22px;
font-weight: 400;
text-decoration: none;
&:hover{
color: #fff;
}
}
}
}
\ No newline at end of file
......@@ -196,6 +196,7 @@ h1+p {
.side-menu{
list-style: none;
margin-top: 14px;
padding-left: 15px;
li{
margin-bottom: 14px;
......