Forum Replies Created

Viewing 8 replies - 16 through 23 (of 23 total)
  • Forum: Themes and Templates
    In reply to: _S Header
    Thread Starter Joshua Sommer

    (@beanbagg)

    I don’t follow. I’ll post the CSS and HTML in its entirety.

    HTML(header.php)

    <?php
    /**
     * The Header for our theme.
     *
     * Displays all of the <head> section and everything up till <div id="main">
     *
     * @package beanbag
     */
    ?><!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <meta name="viewport" content="width=device-width" />
    <title><?php wp_title( '|', true, 'right' ); ?></title>
    <link rel="profile" href="http://gmpg.org/xfn/11" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    <!--[if lt IE 9]>
    <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
    <![endif]-->
    
    <?php wp_head(); ?>
    </head>
    
    <body <?php body_class(); ?>>
    <div id="page" class="hfeed site">
    	<?php do_action( 'before' ); ?>
    	<header id="masthead" class="site-header" role="banner">
    		<div class="site-branding">
    			<h1 class="site-title"><a>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
    			<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
    		</div>
    
    		<nav id="site-navigation" class="navigation-main" role="navigation">
    			<h1 class="menu-toggle"><?php _e( 'Menu', 'beanbag' ); ?></h1>
    			<div class="screen-reader-text skip-link"><a href="#content">"><?php _e( 'Skip to content', 'beanbag' ); ?></a></div>
    
    			<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
    		</nav><!-- #site-navigation -->
    	</header><!-- #masthead -->
    
    	<div id="main" class="site-main">

    CSS(Edit CSS)

    /*
    Welcome to Custom CSS!
    
    CSS (Cascading Style Sheets) is a kind of code that tells the browser how
    to render a web page. You may delete these comments and get started with
    your customizations.
    
    By default, your stylesheet will be loaded after the theme stylesheets,
    which means that your rules can take precedence and override the theme CSS
    rules. Just write here what you want to change, you don't need to copy all
    your theme's stylesheet content.
    */
    body {
    	font-family: "Book Antiqua", Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
    	text-align: center;
    }
    
    a, a:visited, a:focus, a:active {
    	color: #1693A5;
    	text-decoration: none;
    }
    
    a:hover {
    	color: #FF0066;
    	text-decoration: none;
    }
    
    .header a {
    	color: #CDD7B6;
    	text-decoration: none;
    }
    
    .header a:hover {
    	color: #fff;
    	text-decoration: none;
    }
    
    .content-area {
    	margin: 0 auto;
    	margin-top: 80px;
    	width: 960px;
    	text-align: left;
    }
    
    .header {
    	position: fixed;
    	width: 100%;
    	height: 40px;
    	background: #333;
    	font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
    }
    
    .site-footer {
    	margin: 0 auto;
    	width: 960px;
    	font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
    	text-align: left;
    }

    I reset header.php. I’m not sure where I should place my divs at.

    Forum: Themes and Templates
    In reply to: _S Header
    Thread Starter Joshua Sommer

    (@beanbagg)

    HTML:

    <div class=”header”>menu code in header.php</div>

    CSS:

    .header {
    position: fixed;
    width: 100%;
    height: 40px;
    background: #333;
    font-family: Calibri, Candara, Segoe, “Segoe UI”, Optima, Arial, sans-serif;
    }

    I’m using the _s theme.

    Forum: Themes and Templates
    In reply to: _S Header
    Thread Starter Joshua Sommer

    (@beanbagg)

    A centered menu with good spacing and a logo image. :]

    Thread Starter Joshua Sommer

    (@beanbagg)

    ty!

    Forum: Themes and Templates
    In reply to: Simple Header
    Thread Starter Joshua Sommer

    (@beanbagg)

    nvm. thanks!

    Forum: Themes and Templates
    In reply to: Simple Header
    Thread Starter Joshua Sommer

    (@beanbagg)

    :s good to know. off-topic, but do you know where I can get a twenty thirteen build for 3.5?

    Forum: Themes and Templates
    In reply to: Simple Header
    Thread Starter Joshua Sommer

    (@beanbagg)

    thanks! I wound up modifying the actual theme and got the desired result.

    Forum: Themes and Templates
    In reply to: Simple Header
    Thread Starter Joshua Sommer

    (@beanbagg)

    I made a child theme but I’m not seeing header.php in the editor.. or much of anything at all.

Viewing 8 replies - 16 through 23 (of 23 total)