Ondersteuning » Thema en CSS/opmaak » Hulp: Tekst vervangen voor header

  • Goedendag,

    Ik heb zojuist geprobeerd de tekst te vervangen voor een header.

    Dit is het resultaat:

    [img]http://img607.imageshack.us/img607/7922/headeraol.jpg[/img]

    Ik hoop dat iemand kan helpen, zodat het wel goed past.

    [script]
    /******************************************************************
    HEADLINES & TITLES
    ******************************************************************/

    h1, .h1 {}
    h2, .h2 {}
    h3, .h3 {}
    h4, .h4 {}
    h5, .h5 {}
    h1 a, .h1 a, h2 a, .h2 a, .entry-title a { color:#000 }
    h1 a, .h1 a, h2 a, .h2 a, h3 a, .h3 a, h4 a, .h4 a, h5 a, .h5 a {}

    /******************************************************************
    HEADER SYTLES
    ******************************************************************/

    header[role=banner] {
    repeat-x #043264;
    position:relative;
    padding-top:0px;
    border-top:0px solid #444444;
    border-radius:7px 7px 0 0;

    }
    #site-heading {
    min-height:80px;
    padding-top:20px;
    padding-left:30px;
    }

    #site-title {
    margin-bottom:.1em;
    margin-right:300px;
    font-family: ‘Times New Roman’, Alfa Slab One, Verdana, Geneva, sans-serif;
    font-size:40px;
    font-weight:normal;
    text-shadow:1px 2px #none;
    line-height:1.2em;
    }

    #site-title a { color:#55b9ff; text-decoration:none; }

    #site-description {
    font-family: ‘Times New Roman’, Michroma, Verdana, Geneva, sans-serif;
    font-weight:normal;
    font-size:0.85em;
    color:#000;
    padding-bottom:10px;
    }

    header[role=banner] #searchform {
    position:absolute;
    right:5px;
    top:35px;
    }

    header[role=banner] #searchform label {
    display:none;
    }

    header[role=banner] #s {
    float:left;
    font-size:0.9em;
    padding:7px;
    border-radius:5px 0 0 5px;
    border:2px solid #0496fc;
    border-right:0px;
    box-shadow:3px 3px 5px #ddd inset;
    min-width:250px;
    height:30px;
    outline:none;
    }

    header[role=banner] #searchform input[type=submit] {
    background:url(library/images/button-bg.png) no-repeat -2px center;
    width:40px;
    height:30px;
    float:left;
    text-indent:-9999px;
    outline:none;
    border:1px solid #588e12;
    border-radius:0 5px 5px 0;
    box-shadow:0 0 1px #fff inset;
    }

    #headerimg img {
    border:10px solid #fff;
    margin-bottom:20px;
    box-shadow:0 0 5px #d8d8d8;
    width:100%;
    }

    .entry-header { margin-bottom:35px }
    .entry-title, .page-title { font-family:’Michroma’, Verdana, Geneva, sans-serif; font-weight:normal; font-size: 1.5em; text-shadow:-1px 2px #e4e4e4; margin-bottom:.25em; }
    .page-title { font-size:1.8em; }
    .entry-title a:hover { color:#55b9ff }
    body.page .entry-title, body.single .entry-title { font-size:2.2em }
    body.search .entry-header, body.archive .entry-header { margin-bottom:7px }
    body.search .entry-title, body.archive .entry-title { font-size:1.3em; text-shadow:-1px 1px #e4e4e4; }
    .page-header { margin-left:30px; margin-top:20px; }
    [/script]

    [script]<!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset=”<?php bloginfo( ‘charset’ ); ?>” />
    <meta name=”viewport” content=”width=device-width” />
    <title><?php wp_title(‘|’, true, ‘left’); ?></title>
    <link rel=”profile” href=”http://gmpg.org/xfn/11&#8243; />
    <link rel=”stylesheet” type=”text/css” media=”all” href=”<?php echo get_stylesheet_uri(); ?>” />
    <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>” />

    <?php wp_head(); ?>
    </head>

    <body <?php body_class(); ?>>
    <div id=”container”>
    <?php do_action( ‘before’ ); ?>
    <header id=”branding” role=”banner”>
    <div id=”inner-header” class=”clearfix”>
    <hgroup id=”site-heading”>
    <h1 id=”site-title”>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”><?php bloginfo( ‘name’ ); ?><img src=”http://www.kevindehaas.nl/images/header.jpg&#8221; alt=”logo” class=”logo “></img></h1>
    <h2 id=”site-description”><?php bloginfo( ‘description’ ); ?></h2>
    </hgroup>

    <nav id=”access” role=”navigation”>
    <h1 class=”assistive-text section-heading”><?php _e( ‘Main menu’, ‘major-media’ ); ?></h1>
    <div class=”skip-link screen-reader-text”>“><?php _e( ‘Skip to content’, ‘major-media’ ); ?></div>
    <?php majormedia_main_nav(); // Adjust using Menus in WordPress Admin ?>
    <?php get_search_form(); ?>
    </nav><!– #access –>

    </div>

    </header><!– #branding –>
    [/script]

1 reactie aan het bekijken (van in totaal 1)
  • Thread starter kfcu10

    (@kfcu10)

    + kan iemand mij vertellen hoe ik de zoekmachine kan verwijderen? Ik hoop dat iemand mij met allebei kan helpen.

1 reactie aan het bekijken (van in totaal 1)
  • Het onderwerp ‘Hulp: Tekst vervangen voor header’ is gesloten voor nieuwe reacties.