Ondersteuning » Thema en CSS/opmaak » Menu onder logo plaatsen

  • Hallo,

    Heel graag zou ik het (horizontale) menu wat nu boven het logo staat onder de foto plaatsen.
    Wie kan me helpen.

    Zie:

    Alvast veel dank!

    Groet,
    Mink

12 reacties aan het bekijken - 1 tot 12 (van in totaal 12)
  • Welke thema is het? Dan kan ik in de code kijken.

    Thread starter Mink

    (@mink)

    Het is de Montezuma.

    kan je de code van de header.php even vermelden in een reply

    Thread starter Mink

    (@mink)

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”http://www.w3.org/1999/xhtml&#8221; <?php language_attributes(); ?>>
    <head profile=”http://gmpg.org/xfn/11″&gt;
    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
    <?php
    global $options;
    foreach ($options as $value) {
    if (get_settings( $value[‘id’] ) === FALSE) { $$value[‘id’] = $value[‘std’]; } else { $$value[‘id’] = get_settings( $value[‘id’] ); } }
    ?>
    <title><?php
    // TITLE TAG for ALL Pages
    // If you don’t want the Blog Name added to certain types of pages (could make sense for single post and “page” pages, to make them more unique),
    // remove the ‘echo ” « “; bloginfo(‘name’);’ part (the first and last quotation mark are just for highlighting the text part, they don’t appear below)
    // in the corresponding line below:
    if ( is_home() ) {bloginfo(‘name’); /* If home page, use Blog Name */ }
    elseif ( is_single () OR is_page () ) { the_title(); echo ” « “; bloginfo(‘name’); /* If single post page or “page” page, use post title / page title, followed by blog name */}
    elseif ( is_category() ) { single_cat_title(); echo ” « “; bloginfo(‘name’); /* If category page, use categroy title, followed by blog name */ }
    elseif ( function_exists(‘is_tag’) && is_tag() ) { single_tag_title(); echo ” « “; bloginfo(‘name’); /* If tag page, use tag title, followed by blog name */ }
    elseif ( is_search() ) { echo wp_specialchars($s); echo ” « “; bloginfo(‘name’); /* If search result page, use search query, followed by blog name */ }
    elseif ( is_day () ) { the_time(‘l, F jS, Y’); echo ” « “; bloginfo(‘name’); /* If daily archive, use day date, followed by blog name */ }
    elseif ( is_month () ) { the_time(‘F Y’); echo ” « “; bloginfo(‘name’); /* If monthly archive, use month date, followed by blog name */ }
    elseif ( is_year () ) { the_time(‘Y’); echo ” « “; bloginfo(‘name’); /* If yearly archive, use year date, followed by blog name */ }
    elseif ( is_author () ) { the_author(); echo ” « “; bloginfo(‘name’); /* If author page, use author name, followed by blog name */ }
    elseif ( is_404 () ) { echo “404 not found « “; bloginfo(‘name’); /* If 404 not found page, use “404 not found”, followed by blog name */ }
    else { wp_title(‘ ‘); if(wp_title(‘ ‘, false)) { echo ” « “; } /* else */
    bloginfo(‘name’); }
    ?>
    </title>
    <?php
    // META DESCRIPTION Tag for (only) the HOMEPAGE. To be set in WP Admin -> Presentation -> BytesForAll Theme Options
    if ( is_home() && trim($mon_homepage_meta_description) != “” ) { echo “<meta name=\”description\” content=\”$mon_homepage_meta_description\”>\n”; }
    ?>
    <?php
    // META KEYWORDS Tag for (only) the HOMEPAGE. To be set in WP Admin -> Presentation -> BytesForAll Theme Options
    if ( is_home() && trim($mon_homepage_meta_keywords) != “” ) { echo “<meta name=\”keywords\” content=\”$mon_homepage_meta_keywords\”>\n”; }
    ?>
    <?php
    // META DESCRIPTION Tag for SINGLE POST PAGES & “PAGE” PAGES
    $finaldescription = “”;
    if ( have_posts() && (is_single() OR is_page() ) && !is_home() ) :
    while ( have_posts() ) : the_post();
    if (get_the_excerpt()) { $description = get_the_excerpt(); }
    endwhile;
    $shorteneddescription = (explode(” “, $description, 26)); // change this number to max amount of words – 1
    if (count($shorteneddescription) > 25) { // change this number to max amount of words
    $lastinphrase = array_pop($shorteneddescription); }
    while (list(, $word) = each($shorteneddescription)) {
    $finaldescription .= (“$word “); }
    $finaldescription = trim($finaldescription); echo “<meta name=\”description\” content=\”$finaldescription”.” …\” />\n”; ?>
    <?php endif; ?>
    <?php
    // META KEYWORDS Tag for ALL pages CONTAINING POSTS, EXCEPT HOMEPAGE (Note: “PAGE” PAGES don’t have posts in the sense meant here, so no keywords for them)
    if ( have_posts() && !is_page() && !is_home() ) : ?>
    <?php echo “<meta name=\”keywords\” content=\””; ?>
    <?php while ( have_posts() ) : the_post(); ?>
    <?php
    if (function_exists(‘get_the_tags’) && get_the_tags()) {
    $posttags = get_the_tags();
    if ($posttags) {
    foreach($posttags as $tag) {
    $keyword_array[] = $tag->name;
    }}}
    if (get_the_category()) {
    $postcategory = get_the_category();
    if ($postcategory) {
    foreach($postcategory as $category) {
    $keyword_array[] = $category->name;
    }}}
    ?>
    <?php endwhile; ?>
    <?php $keywords_unique = array_unique($keyword_array);
    while (list(, $number) = each($keywords_unique)) {
    $keywords .= strtolower(“$number, “);
    }
    $keywords = rtrim ($keywords, “, “);
    echo “$keywords\” />\n”; ?>
    <?php endif; /* END META KEYWORDS */ ?>
    <?php /* prevent duplicate content by making date archive pages noindex: */
    if ($mon_archive_noindex == “Yes” && (is_year() OR is_month() OR is_day() ) ) {?>
    <meta name=”robots” content=”noindex, follow” />
    <?php } ?>
    <?php /* prevent duplicate content by making category and tag pages noindex: */
    if ($mon_cat_tag_noindex == “Yes” && (is_category() OR (function_exists(‘is_tag’) && is_tag()) ) ) {?>
    <meta name=”robots” content=”noindex, follow” />
    <?php } ?>
    <meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” /> <!– leave this for stats –>
    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” />
    <style type=”text/css”>
    a:link, a:visited, a:active {color: <?php echo $mon_link_color; ?>; font-weight: bold; text-decoration: none }
    a:hover {text-decoration: underline; }
    .postmetadata a:link, .postmetadata a:visited, .postmetadata a:active {color: #555; font-weight: normal}
    h3.widgettitle {color: #4f5686; width: 100%; font-size: 1.3em; margin-bottom: 1px; /*padding-bottom: 1px;*/ font-family: <?php echo $mon_body_font; ?>; }
    p.header { float: left; margin: 0 10px 8px 0px; font-size:1.2em; font-weight: bold; /*line-height:1.2em*/; color: <?php echo $mon_blog_tagline_color; ?>; }
    h1{ font-family: <?php echo $mon_blog_title_font; ?>; letter-spacing:-1px; line-height: 1.0em; font-size:<?php echo $mon_blog_title_fontsize; ?>em; /*float:left;*/ /*width: 49%;*/ margin: 10px 20px 0 0; padding:0; }
    .header-background {margin-bottom: <?php echo $mon_header_height; ?>px}
    a.header:link, a.header:visited, a.header:active, a.header:hover {color: <?php echo $mon_blog_title_color; ?>; text-decoration: none; }
    #page-container {background: #6870a6; /*border: solid 0px #ffffff;*/
    min-width: 800px; margin: 0 0px; font-family: <?php echo $mon_body_font; ?>; }
    #outer-column-container {border-left: solid <?php echo $mon_leftcolumn_width; ?>em #b1b6d1; border-right: solid <?php echo $mon_rightcolumn_width; ?>em #b1b6d1;}
    #left-column {float: left; margin-left: -<?php echo $mon_leftcolumn_width; ?>em; width: <?php echo $mon_leftcolumn_width; ?>em; margin-right: 1px; }
    #right-column {float: right; margin-right: -<?php echo $mon_rightcolumn_width; ?>em; width: <?php echo $mon_rightcolumn_width; ?>em; margin-left: 1px; }
    #masthead {background: #ffffff url(<?php echo get_bloginfo(’template_directory’); ?>/images/headerimage.jpg) <?php echo $mon_header_image_alignment; ?> no-repeat;
    border-top: 0px solid #ffb0b3;
    padding-top: 1px; border-bottom: solid 15px #913357;}
    #footer {background-color: #6870a6; border-top: solid 5px #4f5686; padding-bottom: 1px;}
    #inner-column-container {border: dashed 0px #cccccc;
    border-width: 0 0px; margin: 0 -0px;
    }
    #inner-column-container {background-color: #dbddea;}
    <?php #set page sub sub pages back so they don’t get highlighted as well: ?>
    li.current_page_item li a:link, li.current_page_item li a:active, li.current_page_item li a:visited, li.current_page_item li a:hover {color:<?php echo $mon_link_color; ?>; font-weight: normal; }
    .inside {margin: 15px; }
    #footer .inside{text-align: center;}
    form input {color: #000; background: #f4f4f4; padding: 0; margin:0; border: 1px solid #b1b6d1; }
    .postmetadata2 a:hover {color: <?php echo $mon_link_color; ?>; text-decoration: underline}
    #right-column p {margin-bottom: 15px;}
    #left-column .inside ul, #right-column .inside ul {margin:0; padding: 0; list-style : none;}
    #left-column .inside ul li, #right-column .inside ul li {margin: 0px 0 2px 0; list-style: none; /*display: inline;*/ line-height: 17px; position:relative;
    background: #b1b6d1 url(<?php echo get_bloginfo(’template_directory’); ?>/images/dart.gif) no-repeat top left; }
    #left-column .inside ul li ul li, #right-column .inside ul li ul li {margin: 0px 0 2px 0px;list-style: none; /*display: inline;*/ line-height: 17px; position:relative;
    background: #b1b6d1 url(<?php echo get_bloginfo(’template_directory’); ?>/images/dart2.gif) no-repeat top left; }
    #left-column .inside ul li a, #right-column .inside ul li a {text-decoration: none; font-weight: normal; color: #42476f; padding-left: 15px; display:block}
    #left-column .inside ul li ul li a, #right-column .inside ul li ul li a {text-decoration: none; font-weight: normal; color: #42476f; padding-left: 18px; display:block}
    #left-column .inside ul li a:hover, #right-column .inside ul li a:hover {text-decoration: underline;}
    * html #left-column .inside ul li a, #right-column .inside ul li a {display:inline-block} /* IE6 needs inline-block */
    </style>
    <link rel=”alternate” type=”application/rss+xml” title=”<?php bloginfo(‘name’); ?> RSS Feed” href=”<?php bloginfo(‘rss2_url’); ?>” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
    <?php wp_head(); ?>
    </head>
    <body>
    <div id=”page-container”>
    <div class=”clearfix” id=”modernbricksmenu”>

      <?php $string = wp_list_pages(’title_li=&echo=0&depth=1′ );
      $pattern = ‘ current_page_item “‘;
      $replacement = ‘” id=”current”‘;
      echo str_replace($pattern, $replacement, $string); ?>

    </div>
    <div style=”clear: both”></div><div class=”headerleft”><img style=”margin:10px 5px 10px 5px; padding:0; border:0; float: left” src=”<?php echo get_bloginfo(’template_directory’); ?>/images/logosymbol.gif” alt=”” /><div style=”float: left”><h1>/”><?php bloginfo(‘name’); ?></h1>
    <div style=”clear: both”></div><p class=”header”><?php bloginfo(‘description’); ?></p></div>
    </div>href=”<?php bloginfo(‘rss2_url’); ?>”><img style=”width: 28px; height: 28px; float: right; margin:7px 10px 0 0″ src=”<?php echo get_bloginfo(’template_directory’); ?>/images/rss-icon.gif” alt=”<?php bloginfo(‘name’); ?> RSS Feed” border=”0″ /><div style=”clear: right”></div>
    <div class=”headerright”>
    <div style=”margin: 5px 10px 5px 10px;”>
    <?php include (TEMPLATEPATH . ‘/searchform.php’); ?>
    </div></div><div style=”clear:both”></div>
    <div id=”modernbricksmenuline”> </div>
    <div style=”height: <?php echo $mon_headerimage_height; ?>px; background: url(<?php echo get_bloginfo(’template_directory’); ?>/images/headerimage.jpg) top center no-repeat;”>
    <div style=”background-color: white; float: left; height: <?php echo $mon_headerimage_height; ?>px; width: <?php echo $mon_leftcolumn_width; ?>em; filter:alpha(opacity=40);-moz-opacity:.40;opacity:.40;”> </div>
    <div style=”background-color: white; float: right; height: <?php echo $mon_headerimage_height; ?>px; width: <?php echo $mon_rightcolumn_width; ?>em; filter:alpha(opacity=40);-moz-opacity:.40;opacity:.40;”> </div>
    <div style=”clear:both”></div>
    </div>
    <div id=”modernbricksmenuline2″> </div>

    Ik denk dat je sowieso

    <div class=”clearfix” id=”modernbricksmenu”>

    <?php $string = wp_list_pages(’title_li=&echo=0&depth=1′ );
    $pattern = ‘ current_page_item “‘;
    $replacement = ‘” id=”current”‘;
    echo str_replace($pattern, $replacement, $string); ?>
    </div>

    dit deel moet verplaatsen naar beneden.
    Tot na de searchbar. kijk er thuis nog even beter naar.

    Thread starter Mink

    (@mink)

    Dank alvast,
    Vanavond laat en morgen kan ik verder sleutelen.
    Ik heb vertrouwen dat het goed komt.
    Groet,
    Mink

    Thread starter Mink

    (@mink)

    Het is gelukt.
    Zie: http://www.leboncourage.nl
    Bedankt voor de hulp.
    Groet,
    Mink

    Thread starter Mink

    (@mink)

    Top dat het gelukt is! Wat was de exacte oplossing?

    Thread starter Mink

    (@mink)

    Precies zoals u dacht!
    Leuk werk dat sleutelen aan de code’s.
    Groet,
    Mink

    <?php wp_head(); ?>
    </head>
    <body>
    <div style=”clear: both”></div><div class=”headerleft”><img style=”margin:10px 5px 10px 5px; padding:0; border:0; float: left” src=”<?php echo get_bloginfo(’template_directory’); ?>/images/logosymbol.gif” alt=”” /><div style=”float: left”><h1>/”><?php bloginfo(‘name’); ?></h1>
    <div style=”clear: both”></div><p class=”header”><?php bloginfo(‘description’); ?></p></div>
    </div>href=”<?php bloginfo(‘rss2_url’); ?>”><img style=”width: 28px; height: 28px; float: right; margin:7px 10px 0 0″ src=”<?php echo get_bloginfo(’template_directory’); ?>/images/rss-icon.gif” alt=”<?php bloginfo(‘name’); ?> RSS Feed” border=”0″ /><div style=”clear: right”></div>
    <div class=”headerright”>
    <div style=”margin: 5px 10px 5px 10px;”>
    <?php include (TEMPLATEPATH . ‘/searchform.php’); ?>
    </div></div><div style=”clear:both”></div>
    <div id=”modernbricksmenuline”> </div>
    <div style=”height: <?php echo $mon_headerimage_height; ?>px; background: url(<?php echo get_bloginfo(’template_directory’); ?>/images/headerimage.jpg) top center no-repeat;”>
    <div style=”background-color: white; float: left; height: <?php echo $mon_headerimage_height; ?>px; width: <?php echo $mon_leftcolumn_width; ?>em; filter:alpha(opacity=40);-moz-opacity:.40;opacity:.40;”> </div>
    <div style=”background-color: white; float: right; height: <?php echo $mon_headerimage_height; ?>px; width: <?php echo $mon_rightcolumn_width; ?>em; filter:alpha(opacity=40);-moz-opacity:.40;opacity:.40;”> </div>
    <div style=”clear:both”></div>
    <div id=”page-container”>
    <div class=”clearfix” id=”modernbricksmenu”>

      <?php $string = wp_list_pages(’title_li=&echo=0&depth=1′ );
      $pattern = ‘ current_page_item “‘;
      $replacement = ‘” id=”current”‘;
      echo str_replace($pattern, $replacement, $string); ?>

    </div>
    </div>
    <div id=”modernbricksmenuline2″> </div

    Of stap over op Atahualpa: http://wordpress.bytesforall.com/ min of meer de opvolger van Montazuma theme.

    Thread starter Mink

    (@mink)

    Atahualpa heb ik al een poosje. Binnenkort komt er een update.

12 reacties aan het bekijken - 1 tot 12 (van in totaal 12)
  • Het onderwerp ‘Menu onder logo plaatsen’ is gesloten voor nieuwe reacties.