Created
May 14, 2014 20:50
-
-
Save jcgertig/8a2ef7c58e7d62f6a24a to your computer and use it in GitHub Desktop.
Footer word press blogs
This file contains 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
<style> | |
/*Footer Base Css From Core App*/ | |
.shell { | |
width: 960px; | |
margin: 0 auto; | |
padding: 0 10px; | |
} | |
#footer { | |
height: 500px; | |
} | |
#footer h4 { | |
text-transform: uppercase; | |
font-size: 13px; | |
line-height: 18px; | |
} | |
#footer h4 a { | |
margin-left: 8px; | |
font-size: 12px; | |
text-transform: none; | |
font-style: italic; | |
} | |
#footer .shell { | |
overflow: hidden; | |
padding: 15px 10px 0; | |
} | |
#footer .left-part { | |
width: 710px; | |
} | |
#footer .right-part { | |
width: 210px; | |
padding: 0 20px 0 0; | |
} | |
#footer .right-part p { | |
font-size: 14px; | |
line-height: 20px; | |
padding: 0 0 12px; | |
} | |
#footer .bookstore { | |
background: url(http://images.upperroom.org.s3.amazonaws.com/www/static/footer-sep.png) 0 100% repeat-x; | |
width: 710px; | |
overflow: hidden; | |
margin: 0 0 14px; | |
padding: 0 0 25px; | |
} | |
#footer .bookstore h4 { | |
padding: 0 0 12px; | |
} | |
#footer .bookstore li { | |
float: left; | |
width: 142px; | |
font-size: 11px; | |
line-height: 14px; | |
} | |
#footer .bookstore .cover { | |
width: 65px; | |
padding: 4px 0 0; | |
} | |
#footer .bookstore .cover img { | |
display: block; | |
border: 1px solid #d0cbb2; | |
} | |
#footer .bookstore .title { | |
width: 74px; | |
} | |
#footer .bookstore .title span { | |
display: block; | |
font-size: 12px; | |
line-height: 18px; | |
padding: 4px 0 0; | |
} | |
#footer .bottom img.left { | |
position: relative; | |
margin: -10px 30px 0 0; | |
} | |
#footer .bottom p { | |
font-size: 10px; | |
line-height: 16px; | |
word-spacing: -1px; | |
white-space: nowrap; | |
} | |
.foot-nav { | |
background: url(http://images.upperroom.org.s3.amazonaws.com/www/static/footer-sep.png) 0 100% repeat-x; | |
width: 710px; | |
overflow: hidden; | |
margin: 0 0 16px; | |
padding: 0 0 23px; | |
} | |
.foot-nav ul { | |
list-style: none; | |
width: 132px; | |
font-size: 12px; | |
line-height: 16px; | |
padding: 0 10px 0 0; | |
} | |
.foot-nav li { | |
width: 132px; | |
/*padding: 0 0 5px;*/ | |
} | |
.left { | |
float: left; | |
} | |
.right { | |
float: right; | |
} | |
</style> | |
BOOKS just script | |
Weavings & Alivenow + NEEDS BASIC STYLE | |
<script> | |
function getFooter (selector, footerURL, language, format) { | |
language = typeof language !== 'undefined' ? language : "en"; | |
format = typeof format !== 'undefined' ? format : function ( data ) { | |
jQuery( "body" ).append( "<div id='htmlEditArea' style='display:none;'></div>" ); | |
jQuery( "#htmlEditArea" ).html( data ); | |
var formatedHTML = jQuery( "#htmlEditArea #footer" ).html(); | |
jQuery( "#htmlEditArea" ).remove(); | |
return formatedHTML; | |
}; | |
jQuery.get( footerURL, { language: language }, function ( data ) { | |
jQuery( selector ).html( format( data.footer ) ); | |
}, 'jsonp'); | |
} | |
jQuery(document).ready(function(){getFooter( "#footer", "http://www.upperroom-staging.com/" );}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment