Created
October 5, 2017 01:22
-
-
Save chillybin/e7c16432e69be5f31360cafb4b5d49f0 to your computer and use it in GitHub Desktop.
TRW Footer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Customise footer | |
remove_action( 'genesis_footer', 'genesis_do_footer', 10 ); | |
add_action( 'genesis_footer', 'trw_do_footer', 8 ); | |
function trw_do_footer() { ?> | |
<div class="footer-credits"> | |
<div class="row copyright"> | |
<div class="col-xs-12 col-md-6 center-xs text-xs-center start-md text-ms-left"> | |
<p>© <? echo date( 'Y' ); ?> The Recovering Workaholic, All Rights Reserved.</p> | |
</div> | |
<div class="col-xs-12 col-md-6 center-xs text-xs-center end-md text-md-right"> | |
<p>Website by <a class="chillybin" target="_blank" href="https://www.chillybin.com.sg" rel="nofollow"><span class="screen-reader-text">WordPress Blog Design</span></a> | |
</div> | |
</div> | |
</div> | |
<? } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Site Footer | |
---------------------------------------------------------------------------------------------------- */ | |
.site-footer { | |
color: #aaa; | |
font-size: 9px; | |
letter-spacing: 2px; | |
padding: 27px 0; | |
text-align: center; | |
text-transform: uppercase; | |
} | |
.site-footer a { | |
color: #aaa; | |
text-decoration: none; | |
} | |
.site-footer p { | |
margin: 0; | |
line-height: 2; | |
} | |
.site-footer .chillybin { | |
display: inline-block; | |
width: 32px; | |
height: 32px; | |
filter: grayscale(100%); | |
background-image: url('../images/cb.svg'); | |
background-size: 32px 32px; | |
background-repeat: no-repeat; | |
vertical-align: middle; | |
zoom: 1; | |
} | |
.site-footer .chillybin:hover { | |
filter: grayscale(0%); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment