Forum Replies Created

Viewing 15 replies - 31 through 45 (of 92 total)
  • didnt know that would be so long, thougt it would have vertical scrollers, theres three different files in there

    if all else fails you can always copy and paste this to replace your functions.php

    <?php
    /*—————————————-
    #
    # Theme Name: Brunelleschi
    # Theme Author: Kit MacAllister
    #
    —————————————-*/

    /*—————————————-
    #
    # BRUNELLESCHI SETUP
    #
    —————————————-*/

    /* Run Brunelleschi Theme Setup */
    add_action( ‘after_setup_theme’,’brunelleschi_custom_header_setup’);
    add_action( ‘after_setup_theme’, ‘brunelleschi_setup’ );

    /* brunelleschi setup */
    if ( ! function_exists( ‘brunelleschi_setup’ ) ):
    function brunelleschi_setup() {

    /* Load Theme TextDomain */
    load_theme_textdomain( ‘brunelleschi’, get_template_directory() . ‘/languages’ );

    /* Add Automatic Feed Links */
    add_theme_support( ‘automatic-feed-links’ );

    /* Add Custom Background */
    add_theme_support( ‘custom-background’ );

    /* Add Theme Support for Aside and Gallery */
    add_theme_support( ‘post-formats’, array( ‘aside’, ‘gallery’ ) );

    /* Add Editor Style */
    add_editor_style();

    /* Register Navigation */
    register_nav_menus( array(
    ‘primary’ => __( ‘Primary Navigation’, ‘brunelleschi’ ),
    ) );

    /* Default Header Stuff */
    if ( ! defined( ‘HEADER_TEXTCOLOR’ ) ) { define( ‘HEADER_TEXTCOLOR’, ” ); }
    if ( ! defined( ‘NO_HEADER_TEXT’ ) ) { define( ‘NO_HEADER_TEXT’, true ); }

    }
    endif;

    /*—————————————-
    #
    # REGISTER ASSETS
    #
    —————————————-*/

    if( ! function_exists( ‘brunelleschi_register_assets’) ):
    function brunelleschi_register_assets(){
    /*—————————————-
    #
    # REGISTER SCRIPTS
    #
    —————————————-*/

    /* Modernizr */
    wp_register_script(‘modernizr’, get_template_directory_uri() . ‘/js/modernizr-2.5.2.min.js’ );
    if(!is_admin()) wp_enqueue_script(‘modernizr’);

    /* Contains Media Queries Used by 1140px Grid */
    wp_register_script(‘respond’, get_template_directory_uri() . ‘/js/respond.js’, array());
    if( !is_admin() ){ wp_enqueue_script(‘respond’); }

    /* Register jQuery */
    if(!is_admin()) wp_enqueue_script(‘jquery’);

    /* Additional Scripts */
    wp_register_script(‘brunelleschi-scripts’, get_template_directory_uri() . ‘/js/brunelleschi-scripts.js’, array());
    if( !is_admin() ){ wp_enqueue_script(‘brunelleschi-scripts’); }

    if(brunelleschi_options(‘use-featured-content’) == ‘1’){
    /* Register Slider Scripts */
    wp_register_script(‘slider’, get_template_directory_uri() . ‘/js/jquery.flexslider-min.js’ );
    if(!is_admin()) wp_enqueue_script(‘slider’);

    /* Register Slider Styles */
    wp_register_style(‘brunelleschi_flexslider’, get_template_directory_uri() . ‘/inc/flexslider.css’ );
    if(!is_admin()) wp_enqueue_style(‘brunelleschi_flexslider’);

    wp_register_style(‘brunelleschi_featured_content’, get_template_directory_uri() . ‘/inc/featured-content.css’ );
    if(!is_admin()) wp_enqueue_style(‘brunelleschi_featured_content’);
    }

    /* Register Style.css */
    wp_register_style(‘style.css’, get_stylesheet_uri());
    if(!is_admin()) wp_enqueue_style(‘style.css’);
    }
    endif;
    add_action(‘init’,’brunelleschi_register_assets’);

    /*—————————————-
    #
    # SETUP FUNCTIONS
    #
    —————————————-*/

    /* Title Function */
    if ( ! function_exists( ‘brunelleschi_title’ ) ):
    function brunelleschi_title(){
    global $page, $paged;
    wp_title( ‘»’, true, ‘right’ );
    bloginfo( ‘name’ );
    $site_description = get_bloginfo( ‘description’, ‘display’ );
    if ( $site_description && ( is_home() || is_front_page() ) )
    echo ” » $site_description”;

    if ( $paged >= 2 || $page >= 2 )
    echo ‘ » ‘ . sprintf( __( ‘Page %s’, ‘brunelleschi’ ), max( $paged, $page ) );
    }
    endif;

    /* Posted In Function */
    if ( ! function_exists( ‘brunelleschi_posted_in’ ) ):
    function brunelleschi_posted_in() {
    $tag_list = get_the_tag_list( ”, ‘, ‘ );
    if ( $tag_list ) {
    $posted_in = __( ‘This entry was posted in %1$s and tagged %2$s. Bookmark the permalink.’, ‘brunelleschi’ );
    } elseif ( is_object_in_taxonomy( get_post_type(), ‘category’ ) ) {
    $posted_in = __( ‘This entry was posted in %1$s. Bookmark the permalink.’, ‘brunelleschi’ );
    } else {
    $posted_in = __( ‘Bookmark the permalink.’, ‘brunelleschi’ );
    }
    printf(
    $posted_in,
    get_the_category_list( ‘, ‘ ),
    $tag_list,
    get_permalink(),
    the_title_attribute( ‘echo=0’ )
    );
    }
    endif;

    /* Posted On Function */
    if ( ! function_exists( ‘brunelleschi_posted_on’ ) ):
    function brunelleschi_posted_on() {
    printf( __(‘<span class=”meta-sep”>by</span> %3$s <span class=”%1$s”>Posted on</span> %2$s’, ‘brunelleschi’ ),
    ‘meta-prep meta-prep-author’,
    sprintf( ‘<span class=”entry-date”>%3$s</span>‘,
    get_permalink(),
    esc_attr( get_the_time() ),
    get_the_date()
    ),
    sprintf( ‘<span class=”author vcard”>%3$s</span>’,
    get_author_posts_url( get_the_author_meta( ‘ID’ ) ),
    sprintf( esc_attr__( ‘View all posts by %s’, ‘brunelleschi’ ), get_the_author() ),
    get_the_author()
    )
    );
    edit_post_link( __( ‘Edit’, ‘brunelleschi’ ), ‘ <small><span class=”edit-link”>[‘, ‘]</span></small>’ );
    }
    endif;

    /* Theme Comments */
    if ( ! function_exists( ‘brunelleschi_comment’ ) ):
    function brunelleschi_comment( $comment, $args, $depth ) {
    $GLOBALS[‘comment’] = $comment;
    switch ( $comment->comment_type ) :
    case ” :
    ?>
    <li <?php comment_class(); ?> id=”li-comment-<?php comment_ID(); ?>”>
    <div id=”comment-<?php comment_ID(); ?>”>
    <div class=”comment-author vcard”>
    <?php echo get_avatar( $comment, 40 ); ?>
    <?php printf( __( ‘%s <span class=”says”>says:</span>’, ‘brunelleschi’ ), sprintf( ‘<cite class=”fn”>%s</cite>’, get_comment_author_link() ) ); ?>
    </div><!– .comment-author .vcard –>
    <?php if ( $comment->comment_approved == ‘0’ ) : ?>
    <em class=”comment-awaiting-moderation”><?php _e( ‘Your comment is awaiting moderation.’, ‘brunelleschi’ ); ?>

    <?php endif; ?>

    <div class=”comment-meta commentmetadata”>comment_ID ) ); ?>”>
    <?php
    printf( __( ‘%1$s at %2$s’, ‘brunelleschi’ ), get_comment_date(), get_comment_time() ); ?>
    <?php edit_comment_link( __( ‘(Edit)’, ‘brunelleschi’ ), ‘ ‘ );
    ?>
    </div><!– .comment-meta .commentmetadata –>

    <div class=”comment-body”><?php comment_text(); ?></div>

    <div class=”reply”>
    <?php comment_reply_link( array_merge( $args, array( ‘depth’ => $depth, ‘max_depth’ => $args[‘max_depth’] ) ) ); ?>
    </div><!– .reply –>
    </div><!– #comment-## –>

    <?php
    break;
    case ‘pingback’ :
    case ‘trackback’ :
    ?>
    <li class=”post pingback”>
    <p><?php _e( ‘Pingback:’, ‘brunelleschi’ ); ?> <?php comment_author_link(); ?><?php edit_comment_link( __( ‘(Edit)’, ‘brunelleschi’ ), ‘ ‘ ); ?></p>
    <?php
    break;
    endswitch;
    }
    endif;

    /* Remove Recent Comments Style */
    if ( ! function_exists( ‘brunelleschi_remove_recent_comments_style’ ) ):
    function brunelleschi_remove_recent_comments_style() {
    add_filter( ‘show_recent_comments_widget_style’, ‘__return_false’ );
    }
    endif;

    add_action( ‘widgets_init’, ‘brunelleschi_remove_recent_comments_style’ );

    /* Remove Gallery CSS */
    add_filter( ‘use_default_gallery_style’, ‘__return_false’ );

    if ( ! function_exists( ‘brunelleschi_remove_gallery_css’ ) ):
    function brunelleschi_remove_gallery_css( $css ) {
    return preg_replace( “#<style type=’text/css’>(.*?)</style>#s”, ”, $css );
    }
    endif;

    if ( version_compare( $GLOBALS[‘wp_version’], ‘3.1’, ‘<‘ ) ) { add_filter( ‘gallery_style’, ‘brunelleschi_remove_gallery_css’ ); }

    /* Custom Excerpt More */
    if ( ! function_exists( ‘brunelleschi_custom_excerpt_more’ ) ):
    function brunelleschi_custom_excerpt_more( $output ) {
    if ( has_excerpt() && ! is_attachment() ) {
    $output .= brunelleschi_continue_reading_link();
    }
    return $output;
    }
    endif;
    add_filter( ‘get_the_excerpt’, ‘brunelleschi_custom_excerpt_more’ );

    /* Show the Home Page */
    if ( ! function_exists( ‘brunelleschi_page_menu_args’ ) ):
    function brunelleschi_page_menu_args( $args ) {
    $args[‘show_home’] = true;
    return $args;
    }
    endif;
    add_filter( ‘wp_page_menu_args’, ‘brunelleschi_page_menu_args’ );

    /* Excerpt Length */
    if ( ! function_exists( ‘brunelleschi_excerpt_length’ ) ):
    function brunelleschi_excerpt_length( $length ) {
    return 40;
    }
    endif;
    add_filter( ‘excerpt_length’, ‘brunelleschi_excerpt_length’ );

    /* Continue Reading Link */
    if ( ! function_exists( ‘brunelleschi_continue_reading_link’ ) ):
    function brunelleschi_continue_reading_link() {
    return ‘ ‘ . __( ‘Continue reading <span class=”meta-nav”>→</span>’, ‘brunelleschi’ ) . ‘‘;
    }
    endif;

    /* Auto Excerpt More */
    if ( ! function_exists( ‘brunelleschi_auto_excerpt_more’ ) ):
    function brunelleschi_auto_excerpt_more( $more ) {
    return ‘ …’ . brunelleschi_continue_reading_link();
    }
    endif;
    add_filter( ‘excerpt_more’, ‘brunelleschi_auto_excerpt_more’ );

    /* Admin Header Style */
    if ( ! function_exists( ‘brunelleschi_admin_header_style’ ) ):
    function brunelleschi_admin_header_style() { ?>
    <style type=”text/css”>
    #headerimg {
    display: block;
    margin: 0 auto;
    margin-bottom: 17px;
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    }
    </style>
    <?php }
    endif;

    /*—————————————-
    #
    # Theme Options
    #
    —————————————-*/

    /* Load Theme options Page from inc */
    require( dirname( __FILE__ ) . ‘/inc/theme-options.php’ );

    /*—————————————-
    #
    # OPTIONS DEPENDANT FUNCTIONS
    #
    —————————————-*/
    if ( ! function_exists( ‘brunelleschi_options’ ) ):
    function brunelleschi_options( $string ){
    $option = get_option(‘brunelleschi_options’);
    if(isset($option[$string]) && $option[$string] !== ”){
    return $option[$string];
    } else {
    return false;
    }
    }
    endif;

    /*—————————————-
    #
    # CUSTOM IMAGE HEADER
    #
    —————————————-*/

    /* REQUIRED! — define content width */
    if ( ! brunelleschi_options(‘content-width’) ) { $content_width = 960; }
    else { $content_width = brunelleschi_options(‘content-width’); }

    define( ‘HEADER_IMAGE_WIDTH’, apply_filters( ‘brunelleschi_header_image_width’, $content_width ) );
    define( ‘HEADER_IMAGE_HEIGHT’, apply_filters( ‘brunelleschi_header_image_height’, 198 ) );

    /* Add Post Thumbnails */
    add_theme_support( ‘post-thumbnails’ );

    set_post_thumbnail_size( HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT, true );

    if ( ! function_exists( ‘brunelleschi_admin_header_style’ ) ) :

    /* Backend Header Style */
    function brunelleschi_admin_header_style() { ?>
    <style type=”text/css”>
    #headerimg {
    display: block;
    margin: 0 auto;
    margin-bottom: 17px;
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    }
    </style>
    <?php }
    endif;

    function brunelleschi_admin_header_style() { ?>
    <style type=”text/css”>
    .appearance_page_custom-header #headimg {
    border: none;
    }
    #headimg {
    <?php if ( display_header_text() ) :?>height: 275px !important; <?php endif; ?>
    background: bottom center no-repeat;
    text-align: center;
    }
    #headimg h1,
    #headimg #desc {
    font-family: garamond;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    margin-top: -100px;
    }
    #headimg h1 {
    display: block;
    margin: 0 auto;
    font-size: 30px;
    line-height: 36px;
    margin: 0 0 18px 0;
    }
    #headimg h1 a {
    color: #000;
    font-weight: normal;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .1em;
    }
    #headimg h1 a:hover {
    color: #21759b;
    }
    #headimg #desc {
    display: block;
    margin: 0 auto;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin: .9em 0 2em;
    font-weight: normal;
    font-size: 100%;
    }
    #headimg img {
    display: block;
    max-width: <?php echo get_theme_support( ‘custom-header’, ‘max-width’ ); ?>px;
    }
    </style>
    <?php
    }
    function brunelleschi_header_style() {
    $text_color = get_header_textcolor();

    // If no custom options for text are set, let’s bail
    if ( $text_color == get_theme_support( ‘custom-header’, ‘default-text-color’ ) )
    return;

    // If we get this far, we have custom styles.
    ?>
    <style type=”text/css”>
    <?php
    // Has the text been hidden?
    if ( ! display_header_text() ) :
    ?>
    .site-title,
    .site-description {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px); /* IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    }
    <?php
    // If the user has set a custom color for the text, use that.
    else :
    ?>
    .site-title a,
    .site-description {
    color: #<?php echo $text_color; ?> !important;
    }
    <?php endif; ?>
    </style>
    <?php
    }

    function brunelleschi_custom_header_setup($content_width) {
    $args = array(
    // Text color and image (empty to use none).
    ‘default-text-color’ => ‘444’,
    ‘default-image’ => ”,

    // Set height and width, with a maximum value for the width.
    ‘height’ => 198,
    ‘width’ => $content_width,
    ‘max-width’ => 2000,

    // Support flexible height and width.
    ‘flex-height’ => true,
    ‘flex-width’ => true,

    // Random image rotation off by default.
    ‘random-default’ => false,

    // Callbacks for styling the header and the admin preview.
    ‘wp-head-callback’ => ‘brunelleschi_header_style’,

    // Header Text
    ‘header-text’ => true,
    ‘admin-head-callback’ => ‘brunelleschi_admin_header_style’,
    //’admin-preview-callback’ => ‘brunelleschi_admin_header_image’,
    );

    add_theme_support( ‘custom-header’, $args );
    }

    /*—————————————-
    #
    # THEME OPTIONS CSS SUPPORT
    #
    —————————————-*/

    add_action(‘after_setup_theme’, ‘brunelleschi_options_setup’);

    if ( ! function_exists( ‘brunelleschi_options_setup’ ) ):
    function brunelleschi_options_setup() {

    // Font Options
    if( brunelleschi_options(‘fonts’) === __(‘Modern’,’brunelleschi’) ) {
    wp_register_style(‘brunelleschi_modern’, get_template_directory_uri() . ‘/css/modern.css’ );
    if(!is_admin()) wp_enqueue_style(‘brunelleschi_modern’);
    }

    // Center Navigation
    if( brunelleschi_options(‘center-navigation’)) {
    wp_register_style(‘brunelleschi_center-navigation’, get_template_directory_uri() . ‘/css/center-navigation.css’ );
    if(!is_admin()) wp_enqueue_style(‘brunelleschi_center-navigation’);
    }

    // Left Aligned Heading Text
    if( brunelleschi_options(‘left-heading’)) {
    wp_register_style(‘brunelleschi_left-heading’, get_template_directory_uri() . ‘/css/left-heading.css’ );
    if(!is_admin()) wp_enqueue_style(‘brunelleschi_left-heading’);
    }

    // Heading Position relative to Banner
    if( brunelleschi_options(‘left-heading’) || brunelleschi_options(‘header-order’) === __(‘Text on the Left’,’brunelleschi’) || brunelleschi_options(‘header-order’) === __(‘Text on the Right’,’brunelleschi’)) {
    wp_register_style(‘brunelleschi_small-site-title’, get_template_directory_uri() . ‘/css/small-site-title.css’ );
    if(!is_admin()) wp_enqueue_style(‘brunelleschi_small-site-title’);
    }

    // Navigation Position
    if( brunelleschi_options(‘navigation-position’) === __(‘Nav Above Banner’,’brunelleschi’)) {
    wp_register_style(‘brunelleschi_nav-above-banner’, get_template_directory_uri() . ‘/css/nav-above-banner.css’ );
    if(!is_admin()) wp_enqueue_style(‘brunelleschi_nav-above-banner’);
    }elseif( brunelleschi_options(‘navigation-position’) === __(‘Nav Fixed to Top of Screen’,’brunelleschi’)) {
    wp_register_style(‘brunelleschi_fixed-navigation’, get_template_directory_uri() . ‘/css/fixed-navigation.css’ );
    if(!is_admin()) wp_enqueue_style(‘brunelleschi_fixed-navigation’);
    }

    // Sidebar Options
    if( brunelleschi_options(‘sidebar’) === __(‘left’,’brunelleschi’) ){
    wp_register_style(‘brunelleschi_left-sidebar’, get_template_directory_uri() . ‘/css/left-sidebar.css’ );
    if(!is_admin()) wp_enqueue_style(‘brunelleschi_left-sidebar’);
    }elseif( brunelleschi_options(‘sidebar’) === __(‘both’,’brunelleschi’) && brunelleschi_options(‘sidebar-width’) === __(‘two’,’brunelleschi’)){
    wp_register_style(‘brunelleschi_both-sidebars-two’, get_template_directory_uri() . ‘/css/both-sidebars-two.css’ );
    if(!is_admin()) wp_enqueue_style(‘brunelleschi_both-sidebars-two’);
    }elseif(brunelleschi_options(‘sidebar’) === __(‘both’,’brunelleschi’) && brunelleschi_options(‘sidebar-width’) === __(‘four’,’brunelleschi’)){
    wp_register_style(‘brunelleschi_both-sidebars-four’, get_template_directory_uri() . ‘/css/both-sidebars-four.css’ );
    if(!is_admin()) wp_enqueue_style(‘brunelleschi_both-sidebars-four’);
    }elseif(brunelleschi_options(‘sidebar’) === __(‘both’,’brunelleschi’)){
    wp_register_style(‘brunelleschi_both-sidebars’, get_template_directory_uri() . ‘/css/both-sidebars.css’ );
    if(!is_admin()) wp_enqueue_style(‘brunelleschi_both-sidebars’);
    }

    }
    endif;

    /*—————————————-
    #
    # REGISTER WIDGETS AND SIDEBARS
    #
    —————————————-*/

    if ( ! function_exists( ‘brunelleschi_widgets_init’ ) ):
    function brunelleschi_widgets_init( ) {
    if( brunelleschi_options(‘sidebar’) !== __(‘none’,’brunelleschi’) ){
    /* Widget Area 1, located at the top of the sidebar.*/
    register_sidebar( array(
    ‘name’ => __( ‘Primary Widget Area’, ‘brunelleschi’ ),
    ‘id’ => ‘primary-widget-area’,
    ‘description’ => __( ‘The first widget area’, ‘brunelleschi’ ),
    ‘before_widget’ => ‘<li id=”%1$s” class=”widget-container %2$s”>’,
    ‘after_widget’ => ”,
    ‘before_title’ => ‘<h3 class=”widget-title”>’,
    ‘after_title’ => ‘</h3>’,
    ) );

    /* Widget Area 2, located below the Primary Widget Area in the sidebar. */
    register_sidebar( array(
    ‘name’ => __( ‘Secondary Widget Area’, ‘brunelleschi’ ),
    ‘id’ => ‘secondary-widget-area’,
    ‘description’ => __( ‘The second widget area’, ‘brunelleschi’ ),
    ‘before_widget’ => ‘<li id=”%1$s” class=”widget-container %2$s”>’,
    ‘after_widget’ => ”,
    ‘before_title’ => ‘<h3 class=”widget-title”>’,
    ‘after_title’ => ‘</h3>’,
    ) );
    }

    if( brunelleschi_options(‘sidebar’) === __(‘both’,’brunelleschi’) ||
    brunelleschi_options(‘sidebar’) === __(‘two left’,’brunelleschi’) ||
    brunelleschi_options(‘sidebar’) === __(‘two right’,’brunelleschi’) ){

    /* Widget Area 1, located at the top of the second sidebar.*/
    register_sidebar( array(
    ‘name’ => __( ‘Ternary Widget Area’, ‘brunelleschi’ ),
    ‘id’ => ‘ternary-widget-area’,
    ‘description’ => __( ‘The third widget area’, ‘brunelleschi’ ),
    ‘before_widget’ => ‘<li id=”%1$s” class=”widget-container %2$s”>’,
    ‘after_widget’ => ”,
    ‘before_title’ => ‘<h3 class=”widget-title”>’,
    ‘after_title’ => ‘</h3>’,
    ) );

    /* Widget Area 2, located below the Ternary Widget Area in the sidebar. */
    register_sidebar( array(
    ‘name’ => __( ‘Quaternary Widget Area’, ‘brunelleschi’ ),
    ‘id’ => ‘quaternary-widget-area’,
    ‘description’ => __( ‘The fourth widget area’, ‘brunelleschi’ ),
    ‘before_widget’ => ‘<li id=”%1$s” class=”widget-container %2$s”>’,
    ‘after_widget’ => ”,
    ‘before_title’ => ‘<h3 class=”widget-title”>’,
    ‘after_title’ => ‘</h3>’,
    ) );
    }

    /* Widget Area 3, located in the footer. Empty by default. */
    register_sidebar( array(
    ‘name’ => __( ‘First Footer Widget Area’, ‘brunelleschi’ ),
    ‘id’ => ‘first-footer-widget-area’,
    ‘description’ => __( ‘The first footer widget area’, ‘brunelleschi’ ),
    ‘before_widget’ => ‘<li id=”%1$s” class=”widget-container threecol %2$s”>’,
    ‘after_widget’ => ”,
    ‘before_title’ => ‘<h3 class=”widget-title”>’,
    ‘after_title’ => ‘</h3>’,
    ) );

    /* Widget Area 4, located in the footer. Empty by default. */
    register_sidebar( array(
    ‘name’ => __( ‘Second Footer Widget Area’, ‘brunelleschi’ ),
    ‘id’ => ‘second-footer-widget-area’,
    ‘description’ => __( ‘The second footer widget area’, ‘brunelleschi’ ),
    ‘before_widget’ => ‘<li id=”%1$s” class=”widget-container threecol %2$s”>’,
    ‘after_widget’ => ”,
    ‘before_title’ => ‘<h3 class=”widget-title”>’,
    ‘after_title’ => ‘</h3>’,
    ) );

    /* Widget Area 5, located in the footer. Empty by default. */
    register_sidebar( array(
    ‘name’ => __( ‘Third Footer Widget Area’, ‘brunelleschi’ ),
    ‘id’ => ‘third-footer-widget-area’,
    ‘description’ => __( ‘The third footer widget area’, ‘brunelleschi’ ),
    ‘before_widget’ => ‘<li id=”%1$s” class=”widget-container threecol %2$s”>’,
    ‘after_widget’ => ”,
    ‘before_title’ => ‘<h3 class=”widget-title”>’,
    ‘after_title’ => ‘</h3>’,
    ) );

    /* Area 6, located in the footer. Empty by default. */
    register_sidebar( array(
    ‘name’ => __( ‘Fourth Footer Widget Area’, ‘brunelleschi’ ),
    ‘id’ => ‘fourth-footer-widget-area’,
    ‘description’ => __( ‘The fourth footer widget area’, ‘brunelleschi’ ),
    ‘before_widget’ => ‘<li id=”%1$s” class=”widget-container threecol last %2$s”>’,
    ‘after_widget’ => ”,
    ‘before_title’ => ‘<h3 class=”widget-title”>’,
    ‘after_title’ => ‘</h3>’,
    ) );
    }
    endif;

    add_action( ‘widgets_init’, ‘brunelleschi_widgets_init’ );

    /* Brunelleschi Branding Class */
    if ( ! function_exists( ‘brunelleschi_branding_class’ )) :
    function brunelleschi_branding_class($echo = true){
    if( brunelleschi_options(‘header-order’) === __(‘Text on the Left’,’brunelleschi’) || brunelleschi_options(‘header-order’) === __(‘Text on the Right’,’brunelleschi’)){
    if( brunelleschi_options(‘sidebar’) === __(‘two left’,’brunelleschi’) || brunelleschi_options(‘sidebar’) === __(‘two right’,’brunelleschi’)){
    switch(brunelleschi_options(‘sidebar-width’)){
    case __(‘two’,’brunelleschi’):
    if($echo){ echo ‘fourcol’; }else{
    if(brunelleschi_options(‘header-order’) === __(‘Text on the Right’,’brunelleschi’)){
    echo ‘ last ‘;
    }
    };
    return ‘four’;
    break;
    case __(‘three’,’brunelleschi’):
    if($echo){ echo ‘sixcol’; }else{
    if(brunelleschi_options(‘header-order’) === __(‘Text on the Right’,’brunelleschi’)){
    echo ‘ last ‘;
    }
    };
    return ‘six’;
    break;
    case __(‘four’,’brunelleschi’):
    if($echo){ echo ‘eightcol’; }else{
    if(brunelleschi_options(‘header-order’) === __(‘Text on the Right’,’brunelleschi’)){
    echo ‘ last ‘;
    }
    };
    return ‘eight’;
    break;
    }
    }elseif(brunelleschi_options(‘sidebar’) === __(‘left’,’brunelleschi’) || brunelleschi_options(‘sidebar’) === __(‘right’,’brunelleschi’)){
    if($echo){ echo brunelleschi_options(‘sidebar-width’).’col’; }
    return brunelleschi_options(‘sidebar-width’);
    }else{
    if($echo){ echo ‘threecol’; }
    return brunelleschi_options(‘sidebar-width’);
    }
    }else{
    echo ‘twelvecol last’;
    return ‘twelve’;
    }
    if(brunelleschi_options(‘header-order’) === __(‘Text on the Right’,’brunelleschi’)){
    echo ‘ last’;
    }
    }
    endif;

    /* Brunelleschi Banner Class */
    if ( ! function_exists( ‘brunelleschi_banner’ )) :
    function brunelleschi_banner_class() {
    switch(brunelleschi_branding_class(false)){
    case ‘two’:
    echo ‘tencol ‘;
    break;
    case ‘three’:
    echo ‘ninecol ‘;
    break;
    case ‘four’:
    echo ‘eightcol ‘;
    break;
    case ‘six’:
    echo ‘sixcol ‘;
    break;
    case ‘eight’:
    echo ‘fourcol ‘;
    break;
    case ‘twelve ‘:
    echo ‘twelvecol ‘;
    break;
    }
    if(brunelleschi_options(‘header-order’) !== __(‘Text on the Right’,’brunelleschi’)){
    echo ‘last’;
    }
    }
    endif;

    /* Brunelleschi Sidebar Function */
    if ( ! function_exists( ‘brunelleschi_sidebar_class’ ) ):
    function brunelleschi_sidebar_class(){
    if(!brunelleschi_options(‘sidebar-width’)){
    echo ‘threecol last ‘;
    } else {
    echo brunelleschi_options(‘sidebar-width’).’col ‘;
    }
    if( brunelleschi_options(‘sidebar’) === __(‘right’,’brunelleschi’) ||
    brunelleschi_options(‘sidebar’) === __(‘both’,’brunelleschi’) ||
    brunelleschi_options(‘sidebar’) === __(‘two right’,’brunelleschi’)){
    echo ‘last ‘;
    }
    }
    endif;

    /* Brunelleschi Secondary Sidebar Function */
    if ( ! function_exists( ‘brunelleschi_secondary_sidebar_class’ ) ):
    function brunelleschi_secondary_sidebar_class(){
    if(!brunelleschi_options(‘sidebar-width’)){
    echo ‘threecol’;
    } else {
    echo brunelleschi_options(‘sidebar-width’).’col ‘;
    }
    if( brunelleschi_options(‘sidebar’) === __(‘two right’,’brunelleschi’)){
    echo ‘right’;
    }else{
    echo ‘left’;
    }
    }
    endif;

    /* Brunelleschi Content Function */
    if ( ! function_exists( ‘brunelleschi_content_class’ ) ):
    function brunelleschi_content_class(){
    if( !brunelleschi_options(‘sidebar’) ) {
    echo ‘ninecol ‘;
    } elseif( brunelleschi_options(‘sidebar’) === __(‘none’,’brunelleschi’) ) {
    echo ‘twelvecol last ‘;
    } elseif( brunelleschi_options(‘sidebar’) === __(‘both’,’brunelleschi’) ||
    brunelleschi_options(‘sidebar’) === __(‘two left’,’brunelleschi’) ||
    brunelleschi_options(‘sidebar’) === __(‘two right’,’brunelleschi’) ){
    switch( brunelleschi_options(‘sidebar-width’) ) {
    case __(‘two’,’brunelleschi’):
    echo ‘eightcol ‘;
    break;
    case __(‘three’,’brunelleschi’):
    echo ‘sixcol ‘;
    break;
    case __(‘four’,’brunelleschi’):
    echo ‘fourcol ‘;
    break;
    default:
    echo ‘sixcol’;
    break;
    }
    } else {
    switch( brunelleschi_options(‘sidebar-width’) ) {
    case __(‘two’,’brunelleschi’):
    echo ‘tencol ‘;
    break;
    case __(‘three’,’brunelleschi’):
    echo ‘ninecol ‘;
    break;
    case __(‘four’,’brunelleschi’):
    echo ‘eightcol ‘;
    break;
    default:
    echo ‘ninecol’;
    break;
    }
    }
    if( brunelleschi_options(‘sidebar’) === __(‘left’,’brunelleschi’) || brunelleschi_options(‘sidebar’) === __(‘two left’,’brunelleschi’) ) {
    echo ‘ last ‘;
    }
    if( brunelleschi_options(‘sidebar’) === __(‘two left’,’brunelleschi’)) {
    echo ‘ right ‘;
    }
    }
    endif;

    /* HTML5 Image Captions */
    add_filter(‘img_caption_shortcode’, ‘brunelleschi_img_caption_shortcode_filter’,10,3);

    if ( ! function_exists( ‘brunelleschi_img_caption_shortcode_filter’ ) ):
    function brunelleschi_img_caption_shortcode_filter($val, $attr, $content = null) {
    extract(shortcode_atts(array(
    ‘id’ => ”,
    ‘align’ => ”,
    ‘width’ => ”,
    ‘caption’ => ”
    ), $attr));

    if ( 1 > (int) $width || empty($caption) )
    return $val;

    $capid = ”;
    if ( $id ) {
    $id = esc_attr($id);
    $capid = ‘id=”figcaption_’. $id . ‘” ‘;
    $id = ‘id=”‘ . $id . ‘” aria-labelledby=”figcaption_’ . $id . ‘” ‘;
    }

    return ‘<figure ‘ . $id . ‘class=”wp-caption ‘ . esc_attr($align) . ‘” style=”width: ‘
    . (10 + (int) $width) . ‘px”>’ . do_shortcode( $content ) . ‘<figcaption ‘ . $capid
    . ‘class=”wp-caption-text”>’ . $caption . ‘</figcaption></figure>’;
    }
    endif;

    /* Experimental Featured Post*/
    if ( ! function_exists( ‘brunelleschi_slider_meta_box’ ) ):
    function brunelleschi_slider_meta_box() {
    /* Define the custom box */
    $prefix = ‘brunelleschi_’;

    $meta_box = array(
    ‘id’ => ‘featured-content-meta-box’,
    ‘title’ => __(‘Featured Content’,’brunelleschi’),
    ‘context’ => ‘side’,
    ‘priority’ => ‘default’,
    ‘fields’ => array(
    array(
    ‘name’ => __(‘Add to Featured Content?’,’brunelleschi’),
    ‘id’ => $prefix . ‘featured_post_checkbox’,
    ‘type’ => ‘checkbox’
    ),
    array(
    ‘name’ => __(‘Image Only’,’brunelleschi’),
    ‘id’ => $prefix . ‘featured_post_image-only’,
    ‘type’ => ‘checkbox’
    ),
    array(
    ‘name’ => __(‘Display Text on Right or Left?’,’brunelleschi’),
    ‘id’ => $prefix . ‘featured_post_position’,
    ‘type’ => ‘select’,
    ‘options’ => array(
    __(‘left’,’brunelleschi’),
    __(‘right’,’brunelleschi’)
    ),
    ‘std’ => __(‘left’,’brunelleschi’)
    ),
    array(
    ‘name’ => __(‘Text Display Width?’,’brunelleschi’),
    ‘id’ => $prefix . ‘featured_post_width’,
    ‘type’ => ‘select’,
    ‘options’ => array(
    __(‘1/4 Width’,’brunelleschi’),
    __(‘1/3 Width’,’brunelleschi’),
    __(‘1/2 Width’,’brunelleschi’),
    __(‘Full Width’,’brunelleschi’)
    ),
    ‘std’ => __(‘1/4 Width’,’brunelleschi’)
    ),
    array(
    ‘name’ => __(‘Feature Description:’,’brunelleschi’),
    ‘desc’ => __(‘Add summary for the Feature Slider’,’brunelleschi’),
    ‘id’ => $prefix . ‘featured_post_description’,
    ‘type’ => ‘textarea’,
    ‘std’ => ”
    )
    )
    );
    return $meta_box;
    }

    endif;

    /* Add meta box of option set */
    if(brunelleschi_options(‘use-featured-content’) == ‘1’) {
    add_action(‘admin_menu’, ‘brunelleschi_add_meta_box’);
    }
    if ( ! function_exists( ‘brunelleschi_add_meta_box’ ) ):
    function brunelleschi_add_meta_box() {
    $meta_box = brunelleschi_slider_meta_box();
    add_meta_box($meta_box[‘id’], $meta_box[‘title’], ‘brunelleschi_show_meta_box’, ‘post’, $meta_box[‘context’], $meta_box[‘priority’]);
    add_meta_box($meta_box[‘id’], $meta_box[‘title’], ‘brunelleschi_show_meta_box’, ‘page’, $meta_box[‘context’], $meta_box[‘priority’]);
    }
    endif;

    /* Callback function to show fields in meta box */
    if ( ! function_exists( ‘brunelleschi_show_meta_box’ ) ):
    function brunelleschi_show_meta_box() {
    global $post;
    $meta_box = brunelleschi_slider_meta_box();

    echo ‘<input type=”hidden” name=”brunelleschi_meta_box_nonce” value=”‘, wp_create_nonce(basename(__FILE__)), ‘” />’;

    echo ‘<table class=”form-table”>’;

    foreach ($meta_box[‘fields’] as $field) {
    $meta = get_post_meta($post->ID, $field[‘id’], true);

    echo ‘<tr><td>’;
    switch ($field[‘type’]) {
    case ‘checkbox’:
    echo ‘<label for=”‘, $field[‘id’], ‘” style=”margin-right: 10px;”>’, $field[‘name’], ‘</label>’,
    ‘<input type=”checkbox” name=”‘, $field[‘id’], ‘” id=”‘, $field[‘id’], ‘”‘, checked($meta, ‘on’), ‘ />’;
    break;
    case ‘select’:
    echo ‘<label for=”‘, $field[‘id’], ‘” style=”margin-right: 10px;”>’, $field[‘name’], ‘</label>’,
    ‘<select name=”‘, $field[‘id’], ‘” id=”‘, $field[‘id’], ‘” />’;
    foreach( $field[‘options’] as $option ){
    echo ‘<option name=”‘,$option,'” value=”‘,$option,'” ‘, selected($meta, $option),’>’,ucfirst($option),'</option>’;
    }
    echo ‘</select>’;
    break;
    case ‘textarea’:
    echo ‘<label for=”‘, $field[‘id’], ‘” style=”margin-right: 10px;”>’, $field[‘name’], ‘</label>’,
    ‘<textarea name=”‘, $field[‘id’], ‘” id=”‘, $field[‘id’], ‘” cols=”60″ rows=”4″ style=”width:97%”>’, $meta ? esc_textarea(stripslashes($meta)) : esc_textarea( stripslashes($field[‘std’]) ),
    ‘</textarea>’, ‘
    <span class=”desc” style=”float: right; color:#666;”>’, $field[‘desc’], ‘</span>’;
    break;

    }
    echo ‘</td></tr>’;
    }

    echo ‘</table>’;
    }
    endif;

    add_action(‘save_post’, ‘brunelleschi_save_metabox_data’);

    /* Save data from meta box */
    if ( ! function_exists( ‘brunelleschi_save_metabox_data’ ) ):
    function brunelleschi_save_metabox_data($post_id) {
    $meta_box = brunelleschi_slider_meta_box();

    if (!wp_verify_nonce($_POST[‘brunelleschi_meta_box_nonce’], basename(__FILE__))) {
    return $post_id;
    }

    if (defined(‘DOING_AUTOSAVE’) && DOING_AUTOSAVE) {
    return $post_id;
    }

    if (‘page’ == $_POST[‘post_type’]) {
    if (!current_user_can(‘edit_page’, $post_id)) {
    return $post_id;
    }
    } elseif (!current_user_can(‘edit_post’, $post_id)) {
    return $post_id;
    }

    foreach ($meta_box[‘fields’] as $field) {
    $old = get_post_meta($post_id, $field[‘id’], true);
    $new = $_POST[$field[‘id’]];

    if ($new && $new != $old) {
    /* Sanitize Textarea */
    if($field[‘type’] === ‘textarea’){
    $new = addslashes($new);
    }
    update_post_meta($post_id, $field[‘id’], $new);
    } elseif (” == $new && $old) {
    delete_post_meta($post_id, $field[‘id’], $old);
    }
    }
    }
    endif;

    /* Replaces anchor tags with spans to prevent nested links, essentially it creates fake links */
    if ( ! function_exists( ‘brunelleschi_featured_content_link_filter’ )) :
    function brunelleschi_featured_content_link_filter($string){
    $find = array(
    ‘/<a /’,
    ‘/href=”(.*?)”/’,
    ‘/<\/a>/’
    );
    $replace = array(
    ‘<span class=”fake-link” ‘,
    ‘onclick=”window.open(\’$1\’); event.stopPropagation()”‘,
    ‘</span>’
    );
    $string = preg_replace ( $find , $replace , $string );
    return $string;
    }
    endif;

    this to replace your header.php

    <!doctype html>
    <!–[if lt IE 7]> <html class=”no-js ie6 lt-ie9 lt-ie8 lt-ie7″ <?php echo language_attributes(); ?>> <![endif]–>
    <!–[if IE 7]> <html class=”no-js ie7 lt-ie9 lt-ie8″ <?php echo language_attributes(); ?>> <![endif]–>
    <!–[if IE 8]> <html class=”no-js ie8 lt-ie9″ <?php echo language_attributes(); ?>> <![endif]–>
    <!–[if gt IE 8]><!–> <html class=”no-js” <?php echo language_attributes(); ?>> <!–<![endif]–>
    <head>
    <meta charset=”<?php bloginfo( ‘charset’ ); ?>” />
    <meta http-equiv=”X-UA-Compatible” content=”IE=edge,chrome=1″>
    <meta name=”viewport” content=”width=device-width”>
    <title><?php brunelleschi_title(); ?></title>
    <link rel=”profile” href=”https://gmpg.org/xfn/11&#8243; />
    <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>” />
    <style type=”text/css”> #wrapper { max-width: <?php echo brunelleschi_options(‘content-width’); ?>px !important;} </style>
    <?php
    if ( is_singular() && get_option( ‘thread_comments’ ) )
    wp_enqueue_script( ‘comment-reply’ );
    wp_head();
    ?>
    <style><?php if(brunelleschi_options(‘extra-css’)){ echo brunelleschi_options(‘extra-css’); }?></style>
    </head>
    <body <?php body_class(); ?>>
    <div id=”wrapper” class=”hfeed container”>
    <header id=”header” class=”row clearfix”>
    <?php if( (brunelleschi_options(‘header-order’) === __(‘Text on Top’,’brunelleschi’) || brunelleschi_options(‘header-order’) === __(‘Text on the Left’,’brunelleschi’) || ! brunelleschi_options(‘header-order’)) && !(brunelleschi_options(‘navigation-position’) === __(‘Nav Above Banner’,’brunelleschi’) && brunelleschi_options(‘header-order’) === __(‘Text on the Left’,’brunelleschi’)) ) : ?>
    <hgroup id=”branding” class=”<?php brunelleschi_branding_class(); ?>”>
    <h1 class=”site-title”>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”><?php bloginfo( ‘name’ ); ?></h1>
    <h2 class=”site-description”><?php bloginfo( ‘description’ ); ?></h2>
    </hgroup>
    <?php endif; ?>
    <?php if(!brunelleschi_options(‘hide-navigation’) && brunelleschi_options(‘navigation-position’) === __(‘Nav Above Banner’,’brunelleschi’)): ?>
    <div id=”access” role=”navigation” class=”twelvecol last clearfix”>
    <div class=”skip-link screen-reader-text”>“><?php _e( ‘Skip to content’, ‘brunelleschi’ ); ?></div>
    <?php wp_nav_menu( array( ‘container_class’ => ‘menu-header’, ‘theme_location’ => ‘primary’ ) ); ?>
    </div><!– #access –>
    <?php endif; ?>
    <?php if( brunelleschi_options(‘navigation-position’) === __(‘Nav Above Banner’,’brunelleschi’) && ( brunelleschi_options(‘header-order’) === __(‘Text on the Left’,’brunelleschi’) || ! brunelleschi_options(‘header-order’) )) : ?>
    <hgroup id=”branding” class=”<?php brunelleschi_branding_class(); ?>”>
    <h1 class=”site-title”>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”><?php bloginfo( ‘name’ ); ?></h1>
    <h2 class=”site-description”><?php bloginfo( ‘description’ ); ?></h2>
    </hgroup>
    <?php endif; ?>
    <?php if(brunelleschi_options(‘use-featured-content’)): ?>
    <?php get_template_part( ‘featured’, ‘content’ ); ?>
    <?php elseif(brunelleschi_options(‘use-header-image’)) : ?>
    <?php
    // Check if this is a post or page, if it has a thumbnail, and if it’s a big one
    if ( is_singular() && current_theme_supports( ‘post-thumbnails’ ) &&
    has_post_thumbnail( $post->ID ) &&
    ( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), ‘post-thumbnail’ ) ) &&
    $image[1] >= HEADER_IMAGE_WIDTH ) :
    // Houston, we have a new header image!
    echo get_the_post_thumbnail( $post->ID, array( HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT ), array( ‘id’ => ‘headerimg’) );
    elseif ( get_header_image() ) : ?>
    ” class=”<?php brunelleschi_banner_class(); ?>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”>
    <img src=”<?php header_image(); ?>” alt=”” id=”headerimg” />

    <?php endif; ?>
    <?php endif; ?>
    <?php if(brunelleschi_options(‘header-order’) === __(‘Text on the Bottom’,’brunelleschi’) || brunelleschi_options(‘header-order’) === __(‘Text on the Right’,’brunelleschi’)) : ?>
    <hgroup id=”branding” class=”<?php brunelleschi_branding_class(); ?>”>
    <h1 class=”site-title”>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”><?php bloginfo( ‘name’ ); ?></h1>
    <h2 class=”site-description”><?php bloginfo( ‘description’ ); ?></h2>
    </hgroup>
    <?php endif; ?>
    <?php if((brunelleschi_options(‘navigation-position’)) == false || brunelleschi_options(‘navigation-position’) === __(‘Nav Fixed to Top of Screen’,’brunelleschi’) || !brunelleschi_options(‘hide-navigation’) && brunelleschi_options(‘navigation-position’) === __(‘Nav Below Banner’,’brunelleschi’)): ?>
    <div id=”access” role=”navigation” class=”twelvecol last clearfix”>
    <div class=”skip-link screen-reader-text”>“><?php _e( ‘Skip to content’, ‘brunelleschi’ ); ?></div>
    <?php wp_nav_menu( array( ‘container_class’ => ‘menu-header’, ‘theme_location’ => ‘primary’ ) ); ?>
    </div><!– #access –>
    <?php endif; ?>
    </header><!– #header –>
    <div id=”container” class=”row clearfix”>

    and this in your style.css

    /*
    Theme Name: Brunelleschi
    Theme URI: https://kitmacallister.com/2011/brunelleschi/
    Description: Brunelleschi is a modern theme with emphasis on readability and clean typography. Brunelleschi includes a fully flexible mobile layout and a full HTML5 implementation, that way it looks great on any screen and on any modern browser. Brunelleschi also has lots of customizable options including page-width, multiple sidebars, featured content slider and more! Available in Belarusian, Czech, Dutch, English, French, German, Italian, Polish, Russian and Spanish.
    Author: Kit MacAllister
    Author URI: https://kitmacallister.com/about/
    Version: 1.6.5
    License: GNU General Public License
    License URI: license.txt
    Tags: black, blue, white, light, one-column, two-columns, three-columns, right-sidebar, left-sidebar, flexible-width, custom-menu, custom-header, custom-background, theme-options, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style
    */

    /*
    * HTML5 Boilerplate
    *
    * What follows is the result of much research on cross-browser styling.
    * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
    * Kroc Camen, and the H5BP dev community and team.
    *
    * Detailed information about this CSS: h5bp.com/css
    *
    * ==|== normalize ==========================================================
    */

    /* =============================================================================
    HTML5 display definitions
    ========================================================================== */

    article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
    audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
    audio:not([controls]) { display: none; }
    [hidden] { display: none; }

    /* =============================================================================
    Base
    ========================================================================== */

    /*
    * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
    * 2. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
    */

    html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

    html, button, input, select, textarea { font-family: sans-serif; color: #222; }

    body { margin: 0; font-size: 1em; line-height: 1.4; }

    /*
    * Remove text-shadow in selection highlight: h5bp.com/i
    * These selection declarations have to be separate
    * Also: hot pink! (or customize the background color to match your design)
    */

    ::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
    ::selection { background: #fe57a1; color: #fff; text-shadow: none; }

    /* =============================================================================
    Links
    ========================================================================== */

    a { color: #00e; }
    a:visited { color: #551a8b; }
    a:hover { color: #06e; }
    a:focus { outline: thin dotted; }

    /* Improve readability when focused and hovered in all browsers: h5bp.com/h */
    a:hover, a:active { outline: 0; }

    /* =============================================================================
    Typography
    ========================================================================== */

    abbr[title] { border-bottom: 1px dotted; }

    b, strong { font-weight: bold; }

    blockquote { margin: 1em 40px; }

    dfn { font-style: italic; }

    hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

    ins { background: #ff9; color: #000; text-decoration: none; }

    mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

    /* Redeclare monospace font family: h5bp.com/j */
    pre, code, kbd, samp { font-family: monospace, serif; _font-family: ‘courier new’, monospace; font-size: 1em; }

    q { quotes: none; }
    q:before, q:after { content: “”; content: none; }

    small { font-size: 85%; }

    /* Position subscript and superscript content without affecting line-height: h5bp.com/k */
    sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
    sup { top: -0.5em; }
    sub { bottom: -0.25em; }

    /* =============================================================================
    Lists
    ========================================================================== */

    ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
    dd { margin: 0 0 0 40px; }
    nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

    /* =============================================================================
    Embedded content
    ========================================================================== */

    /*
    * 1. Improve image quality when scaled in IE7: h5bp.com/d
    * 2. Remove the gap between images and borders on image containers: h5bp.com/i/440
    */

    img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

    /*
    * Correct overflow not hidden in IE9
    */

    svg:not(:root) { overflow: hidden; }

    /* =============================================================================
    Figures
    ========================================================================== */

    figure { margin: 0; }

    /* =============================================================================
    Forms
    ========================================================================== */

    form { margin: 0; }
    fieldset { border: 0; margin: 0; padding: 0; }

    /* Indicate that ‘label’ will shift focus to the associated form element */
    label { cursor: pointer; }

    /*
    * 1. Correct color not inheriting in IE6/7/8/9
    * 2. Correct alignment displayed oddly in IE6/7
    */

    legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }

    /*
    * 1. Correct font-size not inheriting in all browsers
    * 2. Remove margins in FF3/4 S5 Chrome
    * 3. Define consistent vertical alignment display in all browsers
    */

    button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

    /*
    * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
    */

    button, input { line-height: normal; }

    /*
    * 1. Display hand cursor for clickable form elements
    * 2. Allow styling of clickable form elements in iOS
    * 3. Correct inner spacing displayed oddly in IE7 (doesn’t effect IE6)
    */

    button, input[type=”button”], input[type=”reset”], input[type=”submit”] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }

    /*
    * Re-set default cursor for disabled elements
    */

    button[disabled], input[disabled] { cursor: default; }

    /*
    * Consistent box sizing and appearance
    */

    input[type=”checkbox”], input[type=”radio”] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
    input[type=”search”] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
    input[type=”search”]::-webkit-search-decoration, input[type=”search”]::-webkit-search-cancel-button { -webkit-appearance: none; }

    /*
    * Remove inner padding and border in FF3/4: h5bp.com/l
    */

    button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

    /*
    * 1. Remove default vertical scrollbar in IE6/7/8/9
    * 2. Allow only vertical resizing
    */

    textarea { overflow: auto; vertical-align: top; resize: vertical; }

    /* =============================================================================
    Tables
    ========================================================================== */

    table { border-collapse: collapse; border-spacing: 0; }
    td { vertical-align: top; }

    /* =============================================================================
    Chrome Frame Prompt
    ========================================================================== */

    .chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }

    /* ==|== primary styles =====================================================
    Author:
    ========================================================================== */

    /*—————————————-
    #
    # 1140 GRID
    #
    —————————————-*/

    .container {
    padding-left: 20px;
    padding-right: 20px;
    }

    .row {
    width: 100%;
    max-width: 1140px;
    min-width: 755px;
    margin: 0 auto;
    }

    .onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol {
    margin-right: 3.8%;
    float: left;
    min-height: 1px;
    }

    .row .onecol {
    width: 4.85%;
    }

    .row .twocol {
    width: 13.45%;
    }

    .row .threecol {
    width: 22.05%;
    }

    .row .fourcol {
    width: 30.75%;
    }

    .row .fivecol {
    width: 39.45%;
    }

    .row .sixcol {
    width: 48%;
    }

    .row .sevencol {
    width: 56.75%;
    }

    .row .eightcol {
    width: 65.4%;
    }

    .row .ninecol {
    width: 74.05%;
    }

    .row .tencol {
    width: 82.7%;
    }

    .row .elevencol {
    width: 91.35%;
    }

    .row .twelvecol {
    width: 100%;
    float: left;
    }

    .last {
    margin-right: 0px;
    }

    img, object, embed {
    max-width: 100%;
    }

    img {
    height: auto;
    }

    #headerimg {
    display: block;
    }

    /* Smaller screens */

    @media only screen and (max-width: 1023px) {

    body {
    font-size: 0.8em;
    line-height: 1.5em;
    }

    }

    /* Mobile */

    @media handheld, only screen and (max-width: 767px) {

    body {
    font-size: 16px;
    -webkit-text-size-adjust: none;
    }

    .row, body, .container {
    width: 100%;
    min-width: 0;
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 0px;
    padding-right: 0px;
    }

    .row .onecol, .row .twocol, .row .threecol, .row .fourcol, .row .fivecol, .row .sixcol, .row .sevencol, .row .eightcol, .row .ninecol, .row .tencol, .row .elevencol, .row .twelvecol {
    width: auto;
    float: none;
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 20px;
    padding-right: 20px;
    }

    .comment .comment {
    margin-left: -56px !important;
    }
    .comment .comment:before {
    content: ‘\27A50A0’;
    color: #a0a0a0;
    float: left;
    }
    blockquote {
    padding-left: 0 !important;
    padding-right: 0 !important;
    }

    /* Comment Response Textarea */
    #respond {
    margin-left: -60px;
    }

    /* Prevent code blocks from becoming too long */
    #main code{ white-space: pre-wrap; display: inline-block; word-break: break-word;}
    #main pre { overflow: auto;}
    #main a { whitespace: pre-wrap; word-break: break-word; text-decoration: none;}

    /* Entry Author Display */
    #author-avatar {
    margin-right: 10px !important;
    }
    #author-description {
    margin-left: 0px !important;
    display: inline !important;
    float: none !important;
    }
    #author-description h2 {
    line-height: 20px !important;
    margin-top: 10px !important;
    margin-bottom: 13px !important;
    border-bottom: 1px solid #ddd;
    }

    /* Table Fix */
    table * { max-width: 100px }

    /* Code Fix */
    code { word-break:break-word }

    /* Left Sidebar Fix */
    #main { float: none !important}
    }

    @media handheld, only screen and (max-width: 400px) {
    /* prevent too-wide images from breaking layout */
    .wp-caption {
    width: auto !important;
    }
    input, textarea {
    max-width: 100% !important;
    }
    .gallery-caption {
    word-break: break-all;
    margin: 0 10px;
    }
    .gallery img {
    border: 3px solid #ddd !important;
    width: 90%
    }
    }

    /*—————————————-
    #
    # IE STYLES
    #
    —————————————-*/

    .ie6 .onecol, .ie7 .onecol, .ie8 .onecol {
    width: 4.7%;
    }

    .ie6 .twocol, .ie7 .twocol, .ie8 .twocol {
    width: 13.2%;
    }

    .ie6 .threecol, .ie7 .threecol, .ie8 .threecol {
    width: 22.05%;
    }

    .ie6 .fourcol, .ie7 .fourcol, .ie8 .fourcol {
    width: 30.6%;
    }

    .ie6 .fivecol, .ie7 .fivecol, .ie8 .fivecol {
    width: 39%;
    }

    .ie6 .sixcol, .ie7 .sixcol, .ie8 .sixcol {
    width: 48%;
    }

    .ie6 .sevencol, .ie7 .sevencol, .ie8 .sevencol {
    width: 56.75%;
    }

    .ie6 .eightcol, .ie7 .eightcol, .ie8 .eightcol {
    width: 61.6%;
    }

    .ie6 .ninecol, .ie7 .ninecol, .ie8 .ninecol {
    width: 74.05%;
    }

    .ie6 .tencol, .ie7 .tencol, .ie8 .tencol {
    width: 82%;
    }

    .ie6 .elevencol, .ie7 .elevencol, .ie8 .elevencol {
    width: 91.35%;
    }

    /*—————————————-
    #
    # Links
    #
    —————————————-*/

    /* Shiny Transition Effects for the links */
    a:link {
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out
    -webkit-tap-highlight-color: #FF5E99;
    }
    a:hover, a:active {
    outline: none;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out
    }
    a, a:active, a:visited {
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out
    color: #607890;
    }
    a:hover {
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out
    color: #036;
    }

    /*—————————————-
    #
    # TYPOGRAPHY
    #
    —————————————-*/
    body { font-size: 87.5%; line-height:1.6em; }
    body,
    h1, h2, h3, h4, h5, h6,
    input,
    textarea,
    .page-title span,
    .pingback a.url,
    #site-title,
    .entry-title {
    font-family: Georgia, Garamond, Baskerville , ‘Times New Roman’, Times, serif;
    }
    #site-title,
    .entry-title {
    word-wrap: break-word;
    }
    h3#comments-title,
    h3#reply-title,
    #access .menu,
    #access div.menu ul,
    #cancel-comment-reply-link,
    .form-allowed-tags,
    #site-info,
    #wp-calendar,
    .comment-meta,
    .comment-body tr th,
    .comment-body thead th,
    .entry-content label,
    .entry-content tr th,
    .entry-content thead th,
    .entry-meta,
    .entry-utility,
    #respond label,
    .navigation,
    .page-title,
    .pingback p,
    .reply,
    .widget-title,
    .wp-caption-text,
    .home .hentry.format-aside:before,
    .home .hentry.category-asides:before,
    #entry-author-info h2 {
    font-size: 100%;
    font-family: “Lucida Grande”, “Lucida Sans”, “Lucida Sans Unicode”, sans-serif;
    text-transform: uppercase;
    letter-spacing: .1em;
    }
    .meta-prep, .meta-sep, .entry-utility-prep {
    text-transform: lowercase;
    color: #a0a0a0;
    font-size: 90%;
    letter-spacing: normal;
    }
    input[type=submit] {
    font-family: “Lucida Grande”, “Lucida Sans”, “Lucida Sans Unicode”, sans-serif;

    }
    pre, code {
    background: #f0f0f0;
    font-size: 12px;
    white-space: pre;
    line-height: 1.5em;
    padding: .5em;
    font-family: Monaco,Consolas,”Andale Mono”,”DejaVu Sans Mono”,monospace;
    }

    /*—————————————-
    #
    # LAYOUT
    #
    —————————————-*/

    body { padding: 12px 0;}

    #wrapper {
    max-width: 960px;
    margin: 0 auto;
    background: #fff;
    overflow: hidden;
    }

    #footer-widget-area {
    overflow: hidden;
    }

    #footer-widget-area .widget-area {
    float: left;
    margin-right: 20px;
    }
    #footer-widget-area #fourth {
    margin-right: 0;
    }
    #site-info {
    float: left;
    font-size: 14px;
    font-weight: bold;
    }
    #site-generator {
    float: right;
    }

    /*—————————————-
    #
    # GLOBAL
    #
    —————————————-*/
    body,
    input,
    textarea {
    color: #666;
    font-size: 12px;
    line-height: 18px;
    }
    hr {
    background-color: #e7e7e7;
    border: 0;
    clear: both;
    height: 1px;
    margin-bottom: 18px;
    }

    p {
    margin-bottom: 18px;
    }
    ul {
    list-style: square;
    margin: 0 0 18px 1.5em;
    }
    ol {
    list-style: decimal;
    margin: 0 0 18px 1.5em;
    }
    ol ol {
    list-style: upper-alpha;
    }
    ol ol ol {
    list-style: lower-roman;
    }
    ol ol ol ol {
    list-style: lower-alpha;
    }
    ul ul,
    ol ol,
    ul ol,
    ol ul {
    margin-bottom: 0;
    }
    dl {
    margin: 0 0 24px 0;
    }
    dt {
    font-weight: bold;
    }
    dd {
    margin-bottom: 18px;
    }
    strong {
    font-weight: bold;
    }
    cite,
    em,
    i {
    font-style: italic;
    }
    big {
    font-size: 131.25%;
    }
    ins {
    background: #ffc;
    text-decoration: none;
    }
    blockquote {
    font-style: italic;
    padding: 0 3em;
    }
    blockquote cite,
    blockquote em,
    blockquote i {
    font-style: normal;
    }
    abbr,
    acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
    }
    sup,
    sub {
    height: 0;
    line-height: 1;
    position: relative;
    vertical-align: baseline;
    }
    sup {
    bottom: 1ex;
    }
    sub {
    top: .5ex;
    }
    input[type=”text”],
    textarea {
    background: #f9f9f9;
    border: 1px solid #ccc;
    box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
    -moz-box-sha

    where any of those photos named beach?

    probably under headers, and no, probably getting off soon but will get back on tomorrow

    if you uploaded it, replace the old photo with a new one with the dimensions of 960×198. if it’s a stock photo it should work with with 330 as that’s what it was when you first got the theme. whatever you do remember you have to change the header.php file to reflect the propper height

    try one of the default permalink settings. they’re guarenteed to work.

    could also be your theme

    it’s possible it could take a day or two for it to update on the google side of things, they could have it cached from earlier today

    if it’s 300 on the website, there’s an exceprt limit set up. if it’s 300 when you edit the post hopefully there’s a more button on there. if not click on text and see if its there.

    otherwise i think it’s lost.

    i guess you could try clearing your cookies/cache, i doubt it’ll work but it might

    i lied, the photo is in your theme folder under images,it’s the stock header image, what was the dimensions of the origional file?

    use this plugin “wsd security” it’ll tell you your weeknesses

    works for photos too

    input the text you want in a post form. click on text instead of visual, then copy and paste it in a text widget in the sidebar

    get rid of the last / of your permalink

    try 330 for now otherwise use paint to crop the picture to 960×198 then go to wp-content/upload and replace the old file.

    if not you were probably set up as an admin under a plugin that isn’t compatible with 3.5 so you will have to do something with ftp to fix that

    under user does it say you are admin?

Viewing 15 replies - 31 through 45 (of 92 total)