Требуется вставить изображение в шапку
-
Здравствуйте.
Тема The Go green Blog (http://www.thegogreenblog.com/) не имеет изображения в шапке.Требуется его в шапку вставить — слева и сверху от заголовка. Чтобы выглядело примерно вот так:
http://s50.radikal.ru/i127/1006/3f/8aec155ac909.jpg
Вопрос: какой код вписать и в какое место какого файла темы (подозреваю, что не только в header.php), чтобы получить результат?
Код шапки:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> <head profile="http://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats --> <script language="JavaScript" type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <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(); ?> <script> $(document).ready(function(){ $("ul li ul li:first-child") .css("padding-top", "10px") }); </script> </head> <body> <div id="page"> <div id="header"> <div id="hdrContainer"> <div id="hdrLeft"> <h1><a>/" class="hdr"> <?php bloginfo('name'); ?></a></h1> <div class="description"><?php bloginfo('description'); ?></div> </div> <div id="hdrRight"> <?php wp_list_pages('title_li='); ?> </div> </div> </div> </div> <div id="container">
style.css, часть header:
#header {position:relative; width:100%; height:150px; background-color:#87b83d; margin-bottom:20px; color:#fff;} #footer {float:left; position:relative; width:100%; height:150px; background-color:#87b83d; margin-top:20px; padding-top:20px; color:#fff;} #footer a {color:#fff; text-decoration:underline;} #container {position:relative; width:1000px; margin:0 auto; text-align:center;} #hdrContainer {width:1000px; margin:0 auto;} h1 {float:left; font-size:24px; color:#fff; text-align:left; font-weight:normal; margin:70px 0 0 20px; letter-spacing:-2px;} #hdrLeft {float:left; width:500px; height:150px; text-align:left;} .description {float:left; width:480px; margin:0 0 0 20px; font-size:14px;} #hdrRight {float:left; width:420px; height:70px; text-align:left; padding:95px 0 0 20px;} #hdrRight ul {margin:95px 0 0 0;} #hdrRight li {display:inline; font-size:18px; font-weight:bold; margin:0 20px 0 0;} #hdrRight a {color:#fff; text-decoration:none;}
Просмотр 5 ответов — с 1 по 5 (всего 5)
Просмотр 5 ответов — с 1 по 5 (всего 5)
- Тема «Требуется вставить изображение в шапку» закрыта для новых ответов.