Skip to content

Instantly share code, notes, and snippets.

@shanecp
shanecp / styles.css
Created March 30, 2014 02:08
CSS: Wordpress: Change Wordpress 2014 theme for full screen width
.entry-title {
text-transform: none;
}
.site-header,
.site {
max-width: 100%;
}
.site-content .entry-header, .site-content .entry-content, .site-content .entry-summary, .site-content .entry-meta, .page-content {
@shanecp
shanecp / backbone.views.common.js
Created March 28, 2014 05:19
BB: Backbone Pass options to the view
// Compatibility override - Backbone 1.1 got rid of the 'options' binding
// automatically to views in the constructor - we need to keep that.
// http://stackoverflow.com/questions/19325323/backbone-1-1-0-views-reading-options
Backbone.View = (function(View) {
return View.extend({
constructor: function(options) {
this.options = options || {};
View.apply(this, arguments);
}
});